IAM Role / Trust-relationships -trustpolicy required for access-grants-s3 cannot be created with CDK #33690
Labels
@aws-cdk/aws-iam
Related to AWS Identity and Access Management
bug
This issue is a bug.
cause/not-a-bug
Not a bug (might still be a documentation issue, might still need work)
p3
Describe the bug
Trying to create a trust-policy for a given role, like this:
cannot be created with CDK.
Regression Issue
Last Known Working CDK Version
CDK Version: 2.1002.0 (build 09ef5a0)
Expected Behavior
the trust-policy for a given role, will contain the given statements
Current Behavior
the trust-policy will not be included in the role.
Reproduction Steps
try this code:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
CDK Version: 2.1002.0 (build 09ef5a0)
Framework Version
No response
Node.js Version
Node.js v22.12.0
OS
Win11
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: