Skip to content

Commit

Permalink
Add s3 source deploy ap1 (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
eversC authored May 27, 2022
1 parent 8102390 commit 15787f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ jobs:
curl -L https://github.com/ovotech/cloud-key-rotator/releases/download/v${VERSION}/${TARGET_FILE} -O
pip3 install awscli
aws s3 cp $TARGET_FILE s3://ckr-terraform-module-code --acl public-read
# publish source to bucket in ap-southeast-2 so cloud-key-rotator can be used in that region
export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PROD_ENG
export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PROD_ENG
aws s3 cp $TARGET_FILE s3://ckr-terraform-module-code-ap-southeast-2 --acl public-read
tf_check_aws:
executor: terraform/default
steps:
Expand Down

0 comments on commit 15787f8

Please sign in to comment.