Skip to content
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

Clean up IAM policy. Moved policy actions accordingly to its corresponded resources #6

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

Conversation

odoszhanov
Copy link

@odoszhanov odoszhanov commented Oct 19, 2023

This PR fixes the issues where policy actions are not related to the policy resources, for e.g.

...
 {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "kafka-cluster:DeleteGroup",
                ...
            ],
            "Resource": "arn:aws:kafka:eu-central-1:297478128798:topic/test-wizard/7b39802a-21ac-48fe-b6e8-a7baf2ae2533-s2/*"
        },
...

Policy action kafka-cluster:DeleteGroup requires group resource and it has no impact on topic resource.
This change will make example configuration clean and accurate.

More details on policy actions and corresponding groups can be found in this AWS MSK IAM doc.

P.S. thanks for Kafka-UI ❤️

@odoszhanov odoszhanov changed the title Moved policy actions accordingly to its corresponded resources Clean up IAM policy. Moved policy actions accordingly to its corresponded resources Nov 30, 2023
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.

None yet

1 participant