Skip to content

Commit f75caa1

Browse files
committed
add us-2
1 parent 3e09417 commit f75caa1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/publish_govcloud.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Download button on the `layer bundle` job. This will be a zip file containing
1010
# all of the required layers. Run this script as follows:
1111
#
12-
# ENVIRONMENT=[us1-staging-fed or us1-fed] [LAYER_NAME_SUFFIX=optional-layer-suffix] [REGIONS=us-gov-west-1] ./scripts/publish_govcloud.sh <layer-bundle.zip>
12+
# ENVIRONMENT=[us1-staging-fed|us1-fed|us2-fed] [LAYER_NAME_SUFFIX=optional-layer-suffix] [REGIONS=us-gov-west-1] ./scripts/publish_govcloud.sh <layer-bundle.zip>
1313
#
1414
# protip: you can drag the zip file from finder into your terminal to insert
1515
# its path.
@@ -49,9 +49,11 @@ elif [ $ENVIRONMENT = "us1-fed" ]; then
4949
echo "[ERROR]: Unexpected package name: $PACKAGE_NAME"
5050
exit 1
5151
fi
52+
elif [ $ENVIRONMENT = "us2-fed" ]; then
53+
AWS_VAULT_ROLE=sso-govcloud-fed-us2-engineering
5254

5355
else
54-
printf "[ERROR]: ENVIRONMENT not supported, must be us1-staging-fed or us1-fed.\n"
56+
printf "[ERROR]: ENVIRONMENT not supported, must be us1-staging-fed, us1-fed, or us2.\n"
5557
exit 1
5658
fi
5759

0 commit comments

Comments
 (0)