goto https://console.aws.amazon.com/s3/home?region=us-west-2#
create a bucket: awscostice
add policy more or less like this:
{
"Version": "2008-10-17",
"Id": "Policy1335892530063",
"Statement": [
goto https://console.aws.amazon.com/s3/home?region=us-west-2#
create a bucket: awscostice
add policy more or less like this:
{
"Version": "2008-10-17",
"Id": "Policy1335892530063",
"Statement": [
I wrote these scripts to help faciliate batch import of our CloudFormation templates into Terraform Configuration.
This script is a light wrapper around batch.sh
. It simply iterates over the list of regions provided, exports expected variables, creates required directories, and calls batch.sh
.
BASE_DIR=/path/to/dir EXCLUDE_REGEX="(some-stack-production|some-stack-staging)" ./region-batch.sh us-east-1 us-west-1