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
Adding each principal in it's own statement results in the correct behavior, If this is the expected behavior maybe it will be better to not allow multiple conditioned principals add to a single statement (like in the composite principals)
Please tell us about your environment:
CDK CLI Version: 1.0
Module Version: 1.0
The text was updated successfully, but these errors were encountered:
Principals can come with implicit conditions, which is useful for
representing principals that can't be expressed with a single field
in IAM.
However, you should not be allowed to use principals with mixed
conditions in a single statement, because IAM can't properly
express the implied OR there.
Fixes#3227.
Principals can come with implicit conditions, which is useful for
representing principals that can't be expressed with a single field
in IAM.
However, you should not be allowed to use principals with mixed
conditions in a single statement, because IAM can't properly
express the implied OR there.
Fixes#3227.
Principals can come with implicit conditions, which is useful for
representing principals that can't be expressed with a single field
in IAM.
However, you should not be allowed to use principals with mixed
conditions in a single statement, because IAM can't properly
express the implied OR there.
Fixesaws#3227.
I'm submitting a ...
What is the current behavior?
When Adding multiple conditional principals to the same PolicyStatment which has same conditions key will result in only one of the conditions:
will result in this template:
This is because the conditions are added to a map in the statement which causes the first added role conditions to be override:
Adding each principal in it's own statement results in the correct behavior, If this is the expected behavior maybe it will be better to not allow multiple conditioned principals add to a single statement (like in the composite principals)
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: