-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Labels
Description
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.