Skip to content

Commit

Permalink
excplicitly setting image mime type (#1005)
Browse files Browse the repository at this point in the history
* excplicitly setting image mime type

* formatting
  • Loading branch information
ben851 authored Nov 3, 2023
1 parent 8e5d35c commit dd9493b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions aws/common/uploadS3Assets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

resource "aws_s3_object" "assets" {

bucket = aws_s3_bucket.asset_bucket.id
for_each = fileset("/var/tmp/notification-admin/app/assets/cloudfront", "**")
key = each.value
source = "/var/tmp/notification-admin/app/assets/cloudfront/${each.value}"
bucket = aws_s3_bucket.asset_bucket.id
for_each = fileset("/var/tmp/notification-admin/app/assets/cloudfront", "**")
key = each.value
source = "/var/tmp/notification-admin/app/assets/cloudfront/${each.value}"
content_type = "image/svg+xml"

}

0 comments on commit dd9493b

Please sign in to comment.