From ef9d24dd867366dd1adbff6f148595ece5ef17b5 Mon Sep 17 00:00:00 2001 From: Alejandro Portela <46484987+Alexpngal@users.noreply.github.com> Date: Fri, 19 Jan 2024 10:39:51 +0100 Subject: [PATCH] adding right region for aws.organizations endpoint --- .../adf-build/china-forward-function/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/china-forward-function/handler.py b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/china-forward-function/handler.py index a800bb488..a78de13c4 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/china-forward-function/handler.py +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/china-forward-function/handler.py @@ -20,7 +20,7 @@ def lambda_handler(event, context): LOGGER.debug(event) if "source" in event and event["source"] == "aws.organizations": - session = boto3.session.Session(region_name="cn-north-1") + session = boto3.session.Session(region_name="cn-northwest-1") sfn_instance = Stepfunction(session, LOGGER) _, state_name = sfn_instance.invoke_sfn_execution( sfn_arn=SFN_ARN,