Skip to content

Commit 5c847d8

Browse files
authored
Merge pull request #2 from DNXLabs/fixed_arn_variable_run_lambda
Updated variable stateMachineARN run lambda
2 parents cbf96d6 + c288d71 commit 5c847d8

File tree

1 file changed

+1
-1
lines changed
  • patch-approval/lambda-run

1 file changed

+1
-1
lines changed

patch-approval/lambda-run/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
def check_execution(name):
88
client = boto3.client('stepfunctions')
99
states = client.list_executions(
10-
stateMachineArn="arn:aws:states:ap-southeast-2:281902667290:stateMachine:labs-patch-approval-sfn",
10+
stateMachineArn=sfn_arn,
1111
statusFilter='RUNNING',
1212
)
1313
executionARN = states['executions'][0]['name']

0 commit comments

Comments
 (0)