-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Closed
Copy link
Labels
bugThis issue is a bug.This issue is a bug.effort/mediumMedium work item – several days of effortMedium work item – several days of effortp1
Description
What is the problem?
Lambda is changing their authorization strategy.
When you call InvokeFunction(FunctionName='xyz', Qualifier=86):
- It used to be the case that you would need IAM permissions granted to the unqualified function name:
xyz. - It is now the case that you need IAM permissions granted to the qualified function name:
xyz:86
It always was and still will be the case that when you do InvokeFunction(FunctionName='xyz:86'), you need IAM permissions to invoke xyz:86.
Since we don't always control what the InvokeFunction call looks like, it might just be safest/simplest to grant permissions on ['xyz', 'xyz:*'].
Reproduction Steps
See above
What did you expect to happen?
See above
What actually happened?
Call is rejected
CDK CLI Version
x
Framework Version
No response
Node.js Version
x
OS
x
Language
Typescript, Python, .NET, Java, Go
Language Version
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.effort/mediumMedium work item – several days of effortMedium work item – several days of effortp1