Skip to content

Commit 15787f8

Browse files
authored
Add s3 source deploy ap1 (#525)
1 parent 8102390 commit 15787f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.circleci/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
curl -L https://github.com/ovotech/cloud-key-rotator/releases/download/v${VERSION}/${TARGET_FILE} -O
7575
pip3 install awscli
7676
aws s3 cp $TARGET_FILE s3://ckr-terraform-module-code --acl public-read
77+
# publish source to bucket in ap-southeast-2 so cloud-key-rotator can be used in that region
78+
export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PROD_ENG
79+
export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PROD_ENG
80+
aws s3 cp $TARGET_FILE s3://ckr-terraform-module-code-ap-southeast-2 --acl public-read
7781
tf_check_aws:
7882
executor: terraform/default
7983
steps:

0 commit comments

Comments
 (0)