Replies: 3 comments 1 reply
-
Hello, from 2024. Did you ever figure this one out? Cheers |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have just tried it again (with cdk 2.137.0) and now it works as desired. The given source code creates the target Trusted Entity. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using cdk 2.26.0 (build a409d63) and the java aws-cdk-lib and get an error on
cdk synth
. I don't know if I'm doing something wrong or if there is a bug. I try to create a role containing this policy:my Stack class looks like this:
When running
cdk synth
I get this error:The comment at resolve.ts says "Must not be a Construct at this point, otherwise you probably made a typo mistake somewhere and resolve will get into an infinite loop recursing into child.parent <---> parent.children". But I don't know were this parent->child loop should occur.
What do I have to do to create a policy statement as provided?
Beta Was this translation helpful? Give feedback.
All reactions