Skip to content

Commit

Permalink
Update upload_npkcomponents.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
awhitehatter authored May 12, 2020
1 parent 6e75139 commit 5a93520
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions terraform-selfhost/upload_npkcomponents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
echo -e "Done.\n\n"

0 comments on commit 5a93520

Please sign in to comment.