Closed CollinAlpert closed 1 month ago
@CollinAlpert , thanks for reaching out.
Yes, I tried to locally repro the issue but it succeeded in deployment.
Although from the error it looks like its related to JSII repo. Trying to repro it using github actions though.
@CollinAlpert , team is tracking this issue -https://github.com/aws/aws-cdk/issues/31749 and this is related to the issue you are facing. So I am moving this issue to JSII Repo for further action.
I think aws/jsii#4657 is related to this. With the massive typeguard bump in aws-cdk 2.158, I suspect there will be a lot of these issue coming out of the woodwork.
Same as https://github.com/aws/jsii/issues/4658 we are tracking this over there.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
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