-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
feat: Add skip_destroy argument in the aws_s3_bucket_public_access_bl… #352
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
feat: Add skip_destroy argument in the aws_s3_bucket_public_access_bl… #352
Conversation
main.tf
Outdated
@@ -1148,6 +1148,7 @@ resource "aws_s3_bucket_public_access_block" "this" { | |||
block_public_policy = var.block_public_policy | |||
ignore_public_acls = var.ignore_public_acls | |||
restrict_public_buckets = var.restrict_public_buckets | |||
skip_destroy = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace the hardcoded value with a variable
skip_destroy = true | |
skip_destroy = var.skip_destroy |
Add variable declaration in variables.tf
Finally use command "pre-commit run -a" check README.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made an update in accordance with your suggestions.
Thanks for the review ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I get your approval in here? @paikend
…ock and set it to true by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't push to your branch to fix the failing CI, so please do it yourself, and we are good to go.
@antonbabenko can I get your approval? I believe CI have passed now :) |
Almost. Please fix it. |
Update main.tf
I believe it's now finally done |
## [5.6.0](v5.5.0...v5.6.0) (2025-08-25) ### Features * Add skip_destroy argument in the aws_s3_bucket_public_access_bl… ([#352](#352)) ([8833269](8833269))
This PR is included in version 5.6.0 🎉 |
…ock and set it to true
Description
Motivation and Context
Breaking Changes
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request