Skip to content

Fixed Potential issue for same Principal during policy creation #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MayankGandhe
Copy link

I was using this module to run with the Bedrock agent module but was getting the following error have resolved it by using distinct function

Policy json is invalid, error:
│ [$[0].Principal: the items in the array must be unique]

I was using this module to run with the Bedrock agent module but was getting the following error have resolved it by using distinct function 

Policy json is invalid, error:
│ [$[0].Principal: the items in the array must be unique]
@wuodar
Copy link

wuodar commented Jun 25, 2025

can we merge this? It causes the same error for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants