Skip to content

Add support for S3 buckets in AWS China Regions #128

@zhiguangwang

Description

@zhiguangwang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions