Skip to content

Commit

Permalink
Terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Likkan Chung committed Oct 29, 2023
1 parent 79def3b commit f877227
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ resource "aws_s3_bucket_website_configuration" "dev-s3-static-website-config" {
}
}

resource "aws_s3_bucket_object" "dev-s3-static-website-files" {
resource "aws_s3_object" "dev-s3-static-website-files" {
bucket = aws_s3_bucket.dev-s3-static-website.id

for_each = fileset("./frontend/", "**")
for_each = fileset("../frontend/", "**")

key = each.value
content_type = each.value.content_type

source = "./frontend/${each.value}"
etag = filemd5("./frontend/${each.value}")
source = "../frontend/${each.value}"
etag = filemd5("../frontend/${each.value}")

}

0 comments on commit f877227

Please sign in to comment.