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

Add CloudFront Origin Access Controls permissions to ProvisionPublishEgressIP policy #145

Merged
merged 1 commit into from
May 28, 2024

Conversation

dav3r
Copy link
Member

@dav3r dav3r commented May 28, 2024

🗣 Description

This PR adds CloudFront Origin Access Controls permissions to dns/provisionpublishegressip_policy.tf that are needed to properly configure the S3 bucket (created in cisagov/publish-egress-ip-terraform) used for publishing egress IPs.

💭 Motivation and context

Without these permissions, we cannot properly configure the egress IP bucket to be accessed via CloudFront, which is part of the work in cisagov/publish-egress-ip-terraform#6.

🧪 Testing

I applied these changes and verified that I was able to successfully apply the code in cisagov/publish-egress-ip-terraform. All automated tests pass.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

These are needed in order to manage CloudFront Origin Access Controls (OAC).
@dav3r dav3r added the improvement This issue or pull request will add or improve functionality, maintainability, or ease of use label May 28, 2024
@dav3r dav3r requested a review from a team May 28, 2024 17:38
@dav3r dav3r self-assigned this May 28, 2024
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

LGTM ✔

@dav3r dav3r merged commit 120003f into develop May 28, 2024
5 checks passed
@dav3r dav3r deleted the improvement/add-additional-permissions branch May 28, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants