aws / amazon-ecs-init

ecs-init is now part of the amazon-ecs-agent repo https://github.com/aws/amazon-ecs-agent/tree/master/ecs-init
https://github.com/aws/amazon-ecs-agent
Apache License 2.0
200 stars 117 forks source link

Fix regional s3 endpoint suffix for cn region in install script #408

Closed fenxiong closed 3 years ago

fenxiong commented 3 years ago

Summary

Fix regional s3 endpoint suffix for cn region in install script. The endpoint suffix is "amazonaws.com.cn" instead of "amazonaws.com" for cn regions.

Implementation details

Fixing endpoint for all regional s3 endpoints used in the install script.

Testing

Tested e2e in cn region.

New tests cover the changes: no

Description for the changelog

N/A

Licensing

This contribution is under the terms of the Apache 2.0 License: yes