Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for S3 buckets in AWS China Regions #128

Open
zhiguangwang opened this issue Nov 16, 2018 · 2 comments · May be fixed by #335
Open

Add support for S3 buckets in AWS China Regions #128

zhiguangwang opened this issue Nov 16, 2018 · 2 comments · May be fixed by #335
Labels

Comments

@zhiguangwang
Copy link

By 2018-11, there are 2 AWS regions in China:

  • Beijing (cn-north-1)
  • Ningxia (cn-northwest-1)

Unfortunately, the schemes of S3 endpoints in both China regions are different from those in Global regions, as in AWS Regions and Endpoints.

This is causing problems when running Nomad in those regions.

For example, I am getting "URL is not a valid S3 URL" error with the following code in Job file:

artifact {
  source = "https://s3.cn-north-1.amazonaws.com.cn/my-bucket-example/my_app.tar.gz"
}

I think I can temporarily work around this issue by allowing the VPC to do s3:Get* actions via S3 bucket policy, but it would be nice to get the native support as well.

@mitchellh mitchellh added the bug label Nov 17, 2018
@altay13
Copy link

altay13 commented Dec 5, 2018

Can I pick up this issue?

@altay13
Copy link

altay13 commented Jan 13, 2019

Hey, sorry for late, here is a quick fix: pull request - 153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants