terraform-aws-s3-bucket
terraform-aws-s3-bucket copied to clipboard
feat: Add attachable CloudFront OAI and OAC policies
Description
Adds attachable CloudFront Origin Access Identities (deprecated by AWS) and CloudFront Origin Access Identities policies.
Motivation and Context
An AWS S3 bucket is often connected with an AWS CloudFront distribution and configuring a securely authenticated connection should be trivial. Workarounds such as https://github.com/terraform-aws-modules/terraform-aws-cloudfront/blob/master/examples/complete/main.tf#L294-L327 should not be needed.
Breaking Changes
None.
How Has This Been Tested?
- [ ] I have updated at least one of the
examples/*
to demonstrate and validate my change(s) - [ ] I have tested and validated these changes using one or more of the provided
examples/*
projects
- [ ] I have executed
pre-commit run -a
on my pull request
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
Is there ay reason why this should not be part of the TF module?
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
.
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
@antonbabenko This TF module already supports off-the-shelf policies for other AWS services. Why not also support AWS CloudFront?
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
unstale
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
unstale
@gw0 Do you still plan to continue with this PR?
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
This PR was automatically closed because of stale in 10 days
I'm going to lock this pull request because it has been closed for 30 days β³. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.