You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a lambda function, passing an existing roleARn should be enough to make it work. However, it keeps creating a policy and attaching it to the role. Why is that the case?
Expected Behavior
Do not create any policies
Current Behavior
Creates another policy and attaches it to the role provided
Reproduction Steps
Create a lambda function with logRetentionRole prop
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.100.0
Framework Version
No response
Node.js Version
v18
OS
macOS
Language
TypeScript
Language Version
v5.2.2
Other information
No response
The text was updated successfully, but these errors were encountered:
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
When creating a lambda function, passing an existing roleARn should be enough to make it work. However, it keeps creating a policy and attaching it to the role. Why is that the case?
Expected Behavior
Do not create any policies
Current Behavior
Creates another policy and attaches it to the role provided
Reproduction Steps
Create a lambda function with logRetentionRole prop
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.100.0
Framework Version
No response
Node.js Version
v18
OS
macOS
Language
TypeScript
Language Version
v5.2.2
Other information
No response
The text was updated successfully, but these errors were encountered: