Create a policy based on a iam policy map instead of a list of statements. This prevents duplicated policies and then there is reason to use flatten().
We would need to wrap a try around the flatten and update the docs to show a map passed in instead of a list.
Have a question? Please checkout our Slack Community or visit our Slack Archive.
Describe the Feature
Create a policy based on a iam policy map instead of a list of statements. This prevents duplicated policies and then there is reason to use
flatten()
.We would need to wrap a
try
around the flatten and update the docs to show a map passed in instead of a list.