aws cloudformation deploy s3-bucket should work for different regions
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
Now when using aws cloudformation deploy with s3-bucket flag -
CLI does these operations -
- Redirect to other endpoint.
```
-------
Event before-parameter-build.s3.PutObject: calling handler >
------
```
- PutObject - to url like - https://abcbucket123.s3.us-west-2.amazonaws.com -Works
- CreateChangeSet - 'TemplateURL': 'https://s3-ap-south-1.amazonaws.com/abcbucket123/2be6ca6a006bd83e306ae0f307076535.template'
In my tests, I found that if we use -
create-change-set with template-url like https://abcbucket123.s3.amazonaws.com/newtest2.yaml
use template-url as https://.s3.amazonaws.com instead of https://s3-.amazonaws.com/ which will enable the use of same bucket for different regions in future.
This will mean that even PutObject is being done in correct bucket and even CreateChangeSet from the same bucket.
This will enable use of just single bucket in single region for multiple stacks in different region.
Contributor guide
Assessment
This issue has not been assessed yet.