Skip to content

Conversation

tiagovmvieira
Copy link
Contributor

…ock and set it to true

Description

Motivation and Context

Breaking Changes

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

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
Copy link
Contributor

@paikend paikend Aug 22, 2025

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

Suggested change
skip_destroy = true
skip_destroy = var.skip_destroy

Add variable declaration in variables.tf

Finally use command "pre-commit run -a" check README.md

Copy link
Contributor Author

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 ;)

Copy link
Contributor Author

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

Copy link
Member

@antonbabenko antonbabenko left a 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.

@tiagovmvieira
Copy link
Contributor Author

@antonbabenko can I get your approval? I believe CI have passed now :)

@antonbabenko
Copy link
Member

@antonbabenko can I get your approval? I believe CI have passed now :)

Almost. Please fix it.

@tiagovmvieira
Copy link
Contributor Author

@antonbabenko can I get your approval? I believe CI have passed now :)

Almost. Please fix it.

I believe it's now finally done

@antonbabenko antonbabenko merged commit 8833269 into terraform-aws-modules:master Aug 25, 2025
18 checks passed
antonbabenko pushed a commit that referenced this pull request Aug 25, 2025
## [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))
@antonbabenko
Copy link
Member

This PR is included in version 5.6.0 🎉

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.

4 participants