Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Send Lambda/CFN app to S3 buckets
for region in `aws ec2 describe-regions --output text | cut -f4`
do
aws s3 cp lambda/app.zip s3://ianmckay-$region/APPLICATION/app.zip --acl public-read
aws s3 cp template.yml s3://ianmckay-$region/APPLICATION/template.yml --acl public-read
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment