Skip to content

Commit 42ea962

Browse files
committed
fix: use :* wildcard pattern for resource ARN
1 parent efb99ca commit 42ea962

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def deploy_function(example_name: str, function_name: str | None = None):
389389
"Effect": "Allow",
390390
"Principal": {"AWS": config["invoke_account_id"]},
391391
"Action": "lambda:InvokeFunction",
392-
"Resource": f"{function_arn}*"
392+
"Resource": f"{function_arn}:*"
393393
}
394394
]
395395
}

0 commit comments

Comments
 (0)