diff --git a/scripts/list_layers.sh b/scripts/list_layers.sh index da2fda10..e73b798e 100755 --- a/scripts/list_layers.sh +++ b/scripts/list_layers.sh @@ -9,7 +9,7 @@ # Optionals args: [layer-name] [region] LAYER_NAMES=("Datadog-Python27" "Datadog-Python36" "Datadog-Python37") -AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1) +AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1) # Check region arg if [ -z "$2" ]; then diff --git a/scripts/publish_layers.sh b/scripts/publish_layers.sh index f00ccb02..4d458e26 100755 --- a/scripts/publish_layers.sh +++ b/scripts/publish_layers.sh @@ -12,7 +12,7 @@ PYTHON_VERSIONS_FOR_AWS_CLI=("python2.7" "python3.6" "python3.7") LAYER_PATHS=(".layers/datadog_lambda_py2.7.zip" ".layers/datadog_lambda_py3.6.zip" ".layers/datadog_lambda_py3.7.zip") LAYER_NAMES=("Datadog-Python27" "Datadog-Python36" "Datadog-Python37") -AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1) +AVAILABLE_REGIONS=(us-east-2 us-east-1 us-west-1 us-west-2 ap-south-1 ap-northeast-2 ap-southeast-1 ap-southeast-2 ap-northeast-1 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1) # Check that the layer files exist for layer_file in "${LAYER_PATHS[@]}"