Skip to content

Commit 8db08ac

Browse files
committed
adding text/plain
1 parent e93e1bf commit 8db08ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "random_pet" "this" {
88
resource "aws_s3_object" "this" {
99
for_each = fileset(var.file_path, "**")
1010

11-
content_type = lookup(jsondecode(file("${path.module}/src/mime.json")), regex("\\.[^.]+$", each.value), null)
11+
content_type = lookup(jsondecode(file("${path.module}/src/mime.json")), regex("\\.[^.]+$", each.value), "text/plain")
1212
content_language = var.content_language
1313
cache_control = var.cache_control
1414
acl = var.acl

0 commit comments

Comments
 (0)