aws_iam: item 0 is not compatible with the IManagedPolicy protocol because it has no method named '__jsii_proxy_class__' #31730
Labels
@aws-cdk/aws-iam
Related to AWS Identity and Access Management
bug
This issue is a bug.
needs-reproduction
This issue needs reproduction.
p2
Describe the bug
When creating an IAM role, the deployment fails due to an issue with the
IManagedPolicy
protocol. I noticed this bug after updating the CDK dependency, however now even going back to an older version does not fix the issue.I only notice this when the deployment is run via GitHub Actions, locally (macOS Silicon) the issue is not reproducible.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
The deployment succeeds and the changes are applied.
Current Behavior
The deployment fails with the following stack trace:
Reproduction Steps
This is the problematic code:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.162.0
Framework Version
No response
Node.js Version
20.17.0
OS
Linux
Language
Python
Language Version
3.12.7
Other information
No response
The text was updated successfully, but these errors were encountered: