Skip to content

Commit

Permalink
fix aws-py-stepfunctions (pulumi#1596)
Browse files Browse the repository at this point in the history
AWS no longer supports lambdas with the python3.7 runtime. Update it to
the latest runtime to get this example to work again.

I noticed this was failing in the tests currently, and the error message
suggests upgrading to the latest python.
  • Loading branch information
tgummerer committed Feb 16, 2024
2 parents 01abb20 + 6f74b3a commit 7d6a4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-py-stepfunctions/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

hello_world_fn = lambda_.Function('helloWorldFunction',
role=iam.lambda_role.arn,
runtime="python3.7",
runtime="python3.12",
handler="hello.handler",
code=pulumi.AssetArchive({
'.': pulumi.FileArchive('./step_hello')
Expand Down

0 comments on commit 7d6a4a6

Please sign in to comment.