Last active
March 23, 2018 07:21
-
-
Save antklim/2d9faa8a7b77ebeee06897c61d1ee792 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PROFILE=$1 | |
REGION=$2 | |
BUCKET=$3 | |
AWS_PROFILE=$PROFILE AWS_REGION=$REGION aws s3 cp ./cloudformation/cf.bastion.instance.yml s3://$BUCKET/cf.bastion.instance.yml | |
AWS_PROFILE=$PROFILE AWS_REGION=$REGION aws s3 cp ./cloudformation/cf.loadbalancer.yml s3://$BUCKET/cf.loadbalancer.yml | |
AWS_PROFILE=$PROFILE AWS_REGION=$REGION aws s3 cp ./cloudformation/cf.master.yml s3://$BUCKET/cf.master.yml | |
AWS_PROFILE=$PROFILE AWS_REGION=$REGION aws s3 cp ./cloudformation/cf.network.yml s3://$BUCKET/cf.network.yml | |
AWS_PROFILE=$PROFILE AWS_REGION=$REGION aws s3 cp ./cloudformation/cf.security.groups.yml s3://$BUCKET/cf.security.groups.yml | |
AWS_PROFILE=$PROFILE AWS_REGION=$REGION aws s3 cp ./cloudformation/cf.service.instance.yml s3://$BUCKET/cf.service.instance.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment