AWS CDK deploy to multi-region PoC
This will create a AWS SSM parameter called FooParameter in us-east-1 and eu-west-1 AWS regions, and then destroy it.
You need to create a file named .aws_credentials that contains the AWS Credentials
[default]
aws_access_key_id=AWS_ACCESS_KEY
aws_secret_access_key=AWS_SECRET_KEY
To run:
DOCKER_BUILDKIT=1 docker build -t aws_cdk_multi-region --secret id=aws,src=.aws_credentials .
The container will run the contents of bootstrap.sh
To list the stacks:
$ cd awscdk_poc
$ cdk list
AwscdkPocStack-eu
AwscdkPocStack-us