Skip to content

Commit

Permalink
add new variable
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Oct 7, 2020
1 parent d32730d commit a54b092
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ resource "aws_s3_bucket" "s3_website" {
acl = var.acl

versioning {
enabled = var.versioning
enabled = var.versioning
mfa_delete = var.mfa_delete
}

website {
Expand Down Expand Up @@ -157,7 +158,8 @@ resource "aws_s3_bucket" "s3_logging" {
acl = var.acl

versioning {
enabled = var.versioning
enabled = var.versioning
mfa_delete = var.mfa_delete
}

lifecycle_rule {
Expand Down Expand Up @@ -213,7 +215,8 @@ resource "aws_s3_bucket" "s3_logging_encryption" {
acl = var.acl

versioning {
enabled = var.versioning
enabled = var.versioning
mfa_delete = var.mfa_delete
}

lifecycle_rule {
Expand Down Expand Up @@ -298,7 +301,8 @@ resource "aws_s3_bucket" "s3_encryption" {
acl = var.acl

versioning {
enabled = var.versioning
enabled = var.versioning
mfa_delete = var.mfa_delete
}

lifecycle_rule {
Expand Down

0 comments on commit a54b092

Please sign in to comment.