Skip to content

Commit

Permalink
Revert "ci: skipped all other regions and only china region with debug"
Browse files Browse the repository at this point in the history
This reverts commit 26a6e55.
  • Loading branch information
aryamohanan committed Oct 25, 2024
1 parent b988780 commit 71f4643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-lambda/layer/bin/publish-layer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fi

# The us-gov-* regions are only available to US government agencies, U.S. government etc. The regions have not been (and
# maybe cannot be) enabled for our AWS account. We currently do not publish Lambda layers to these regions.
SKIPPED_REGIONS=$'us-gov-east-1\nus-gov-west-1\naf-south-1\nap-east-1\nap-northeast-1\nap-northeast-2\nap-northeast-3\nap-south-1\nap-south-2\nap-southeast-1\nap-southeast-2\nap-southeast-3\nap-southeast-4\nap-southeast-5\nca-central-1\nca-west-1\neu-central-1\neu-central-2\neu-north-1\neu-south-1\neu-south-2\neu-west-1\neu-west-2\neu-west-3\nil-central-1\nme-central-1\nme-south-1\nsa-east-1\nus-east-1\nus-east-2\nus-gov-east-1\nus-gov-west-1\nus-west-1\nus-west-2'
SKIPPED_REGIONS=$'us-gov-east-1\nus-gov-west-1'

# AWS China is completely separated from the rest of AWS. You cannot enable the Chinese regions in a global AWS account.
# Instead, we have a separate account for AWS China.
Expand Down Expand Up @@ -353,7 +353,7 @@ if [[ -z $SKIP_AWS_PUBLISH_LAYER ]]; then
# AWS credential environment variables will be reverted after the publish for this region is done.
AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_CHINA
AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_CHINA
aws_cli_timeout_options="--cli-read-timeout $AWS_CLI_TIMEOUT_FOR_CHINA --cli-connect-timeout $AWS_CLI_TIMEOUT_FOR_CHINA --debug"
aws_cli_timeout_options="--cli-read-timeout $AWS_CLI_TIMEOUT_FOR_CHINA --cli-connect-timeout $AWS_CLI_TIMEOUT_FOR_CHINA"
fi

echo " + using aws_cli_timeout_options: $aws_cli_timeout_options and retrying $AWS_CLI_RETRY_MAX_ATTEMPTS times"
Expand Down

0 comments on commit 71f4643

Please sign in to comment.