Skip to content

Commit

Permalink
force_destroy=true
Browse files Browse the repository at this point in the history
  • Loading branch information
ashle001 committed Sep 14, 2020
1 parent 5c7b7fa commit eefc2ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ resource "aws_s3_bucket" "this" {
bucket = var.bucket_name
acl = "private"

force_destroy = true

server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
Expand All @@ -31,8 +33,8 @@ resource "aws_s3_bucket" "this" {
}

versioning {
#enabled = true
enabled = false
enabled = true
#enabled = false
}

logging {
Expand Down

0 comments on commit eefc2ce

Please sign in to comment.