From 54d628ad2fec8b75a6949dd02183882a65639bb9 Mon Sep 17 00:00:00 2001 From: Paulo Vital Date: Fri, 28 Aug 2026 15:07:30 +0200 Subject: [PATCH] chore: Update prod regions for AWS Lambda layer publishing script. - Commented the entry for the AWS Middle East (Bahrain) Region (ME-SOUTH-1) since it has suffered damage due to a conflict in the Middle East and is currently unavailable. - Moved the China regions to the end of the list since it sometimes breaks the publishing when not reached. Signed-off-by: Paulo Vital --- bin/aws-lambda/build_and_publish_lambda_layer.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/aws-lambda/build_and_publish_lambda_layer.py b/bin/aws-lambda/build_and_publish_lambda_layer.py index 0c8dad2d..43f01097 100755 --- a/bin/aws-lambda/build_and_publish_lambda_layer.py +++ b/bin/aws-lambda/build_and_publish_lambda_layer.py @@ -8,7 +8,8 @@ import shutil import sys import time -from subprocess import DEVNULL, CalledProcessError, call, check_call, check_output +from subprocess import (DEVNULL, CalledProcessError, call, check_call, + check_output) for profile in ("china", "non-china"): try: @@ -127,8 +128,6 @@ "ap-southeast-7", "ca-central-1", "ca-west-1", - "cn-north-1", - "cn-northwest-1", "eu-central-1", "eu-central-2", "eu-north-1", @@ -139,13 +138,16 @@ "eu-west-3", "il-central-1", "me-central-1", - "me-south-1", + # "me-south-1", # https://health.aws.amazon.com/health/status "sa-east-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2", ] + + target_regions += cn_regions + LAYER_NAME = "instana-python" published = dict()