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

Update permissions for community.aws PR 565 #148

Merged
merged 5 commits into from
May 6, 2021

Conversation

badnetmask
Copy link
Contributor

As recommended by @tremble, this PR updates permissions that allows integration tests to run for community.aws PR 565.

aws/policy/networking.yaml Outdated Show resolved Hide resolved
@@ -71,6 +74,7 @@ Statement:
- ec2:DescribeRouteTables
- ec2:DescribeSecurityGroups
- ec2:DescribeSubnets
- ec2:DescribeTags
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ec2:DescribeTags

The EC2 Tags permissions are over in the compute policy and should already be there.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ec2:DescribeTags here duplicates the ec2:DescribeTags in compute.yaml. Amazon limits policy size (by character count) and we tend to run into those limits so it's helpful to avoid duplication.

Copy link
Collaborator

@jillr jillr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing, otherwise the route53 permissions look good and the tests from 565 pass for me locally

@@ -71,6 +74,7 @@ Statement:
- ec2:DescribeRouteTables
- ec2:DescribeSecurityGroups
- ec2:DescribeSubnets
- ec2:DescribeTags
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ec2:DescribeTags here duplicates the ec2:DescribeTags in compute.yaml. Amazon limits policy size (by character count) and we tend to run into those limits so it's helpful to avoid duplication.

@badnetmask badnetmask requested a review from jillr May 6, 2021 22:52
@badnetmask
Copy link
Contributor Author

One small thing, otherwise the route53 permissions look good and the tests from 565 pass for me locally

Pushed an update. Thanks.

Copy link
Collaborator

@jillr jillr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @badnetmask!

@jillr jillr merged commit 1e13bdd into mattclay:master May 6, 2021
@badnetmask badnetmask deleted the awspr565 branch May 6, 2021 23:43
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.

3 participants