We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e93e1bf commit 8db08acCopy full SHA for 8db08ac
main.tf
@@ -8,7 +8,7 @@ resource "random_pet" "this" {
8
resource "aws_s3_object" "this" {
9
for_each = fileset(var.file_path, "**")
10
11
- content_type = lookup(jsondecode(file("${path.module}/src/mime.json")), regex("\\.[^.]+$", each.value), null)
+ content_type = lookup(jsondecode(file("${path.module}/src/mime.json")), regex("\\.[^.]+$", each.value), "text/plain")
12
content_language = var.content_language
13
cache_control = var.cache_control
14
acl = var.acl
0 commit comments