From 5a9352016fbd5725e5ef18acd61b9e8a97295d42 Mon Sep 17 00:00:00 2001 From: awhitehatter Date: Tue, 12 May 2020 16:14:33 -0600 Subject: [PATCH] Update upload_npkcomponents.sh --- terraform-selfhost/upload_npkcomponents.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/terraform-selfhost/upload_npkcomponents.sh b/terraform-selfhost/upload_npkcomponents.sh index 5a47269..3917d15 100755 --- a/terraform-selfhost/upload_npkcomponents.sh +++ b/terraform-selfhost/upload_npkcomponents.sh @@ -16,16 +16,16 @@ if [[ "$ERR" == "1" ]]; then exit 1 fi -BUCKET1=npk-dictionary-east-1-20181029005812833000000004 +BUCKET1=npk-dictionary-east-1-20181029005812833000000004-2 REGION1="us-east-1" -BUCKET2=npk-dictionary-east-2-20181029005812776500000003 +BUCKET2=npk-dictionary-east-2-20181029005812776500000003-2 REGION2="us-east-2" -BUCKET3=npk-dictionary-west-1-20181029005812746900000001 +BUCKET3=npk-dictionary-west-1-20181029005812746900000001-2 REGION3="us-west-1" -BUCKET4=npk-dictionary-west-2-20181029005812750900000002 +BUCKET4=npk-dictionary-west-2-20181029005812750900000002-2 REGION4="us-west-2" echo "- Downloading components" @@ -47,4 +47,4 @@ aws s3 sync /home/brad/repos/npk/terraform-selfhost/components/ s3://$BUCKET2/co aws s3 sync /home/brad/repos/npk/terraform-selfhost/components/ s3://$BUCKET3/components/ ${@:1} --delete --region $REGION3 aws s3 sync /home/brad/repos/npk/terraform-selfhost/components/ s3://$BUCKET4/components/ ${@:1} --delete --region $REGION4 -echo -e "Done.\n\n" \ No newline at end of file +echo -e "Done.\n\n"