Skip to content

Commit

Permalink
user moved operator
Browse files Browse the repository at this point in the history
  • Loading branch information
wadhah101 committed Feb 5, 2024
1 parent 3062a9e commit 636645c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ resource "aws_s3_bucket_versioning" "default" {
}
}

moved {
from = aws_s3_bucket_logging.default[0]
to = aws_s3_bucket_logging.default["enabled"]
}

resource "aws_s3_bucket_logging" "default" {
for_each = toset(local.enabled && length(var.logging) > 0 ? ["enabled"] : [])

Expand Down

0 comments on commit 636645c

Please sign in to comment.