Skip to content

Commit

Permalink
disable-main
Browse files Browse the repository at this point in the history
  • Loading branch information
ashle001 committed Sep 14, 2020
1 parent 7ad2acc commit 60bc56c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.tf.bak
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 @@ -32,6 +34,7 @@ resource "aws_s3_bucket" "this" {

versioning {
enabled = true
#enabled = false
}

logging {
Expand All @@ -40,7 +43,7 @@ resource "aws_s3_bucket" "this" {
}

lifecycle {
prevent_destroy = true
#prevent_destroy = true
}

tags = merge(
Expand Down

0 comments on commit 60bc56c

Please sign in to comment.