Skip to content

Commit

Permalink
adding right region for aws.organizations endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpngal committed Jan 19, 2024
1 parent b6ce2ff commit ef9d24d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ef9d24d

Please sign in to comment.