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

fix: use new destination.bucket key in policy #256

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

nitrocode
Copy link
Member

@nitrocode nitrocode commented Nov 13, 2024

what

  • use new destination.bucket key in policy

why

  • Support both deprecated destination_bucket and new destination.bucket
  • Previous changes created destination.bucket and left destination_bucket for backwards compatibility, as stated in variables.tf, and forgot to include the new value in the IAM policy

references

@nitrocode nitrocode requested review from a team as code owners November 13, 2024 16:08
@nitrocode nitrocode added patch A minor, backward compatible change bugfix Change that restores intended behavior labels Nov 13, 2024
@nitrocode nitrocode enabled auto-merge (squash) November 13, 2024 16:08
@nitrocode
Copy link
Member Author

/terratest

@nitrocode nitrocode merged commit dce02f2 into main Nov 14, 2024
27 of 37 checks passed
@nitrocode nitrocode deleted the replication-bucket branch November 14, 2024 10:54
Copy link

These changes were released in v4.7.3.

vbrinza added a commit to verygood-ops/terraform-aws-s3-bucket that referenced this pull request Nov 18, 2024
* fix: use new destination.bucket key in policy (cloudposse#256)

Signed-off-by: nitrocode <[email protected]>

* feat: support eventbridge bucket notification (cloudposse#255)

* feat: add eventbridge

* feat: add eventbridge to var definition

* docs: update event notifications to support eventbridge

Signed-off-by: nitrocode <[email protected]>

---------

Signed-off-by: nitrocode <[email protected]>

* feat: add s3 request payment config (cloudposse#259)

* feat: add s3 request payment config var

* fix: set optional key and add validation

* feat: use s3 request payment config

* fix: set default to BucketOwner

* fix: validation for contains

---------

Co-authored-by: Veronika Gnilitska <[email protected]>

* chore: update README.md

---------

Signed-off-by: nitrocode <[email protected]>
Co-authored-by: RB <[email protected]>
Co-authored-by: Veronika Gnilitska <[email protected]>
Co-authored-by: readme-action 📖 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Change that restores intended behavior patch A minor, backward compatible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IAM Policy for S3 replication doesn't include new destination bucket name
2 participants