From 9ef6df55fe379a11d847a9248f88a988ac1ccbef Mon Sep 17 00:00:00 2001 From: Erik Osterman Date: Fri, 22 Sep 2017 07:22:00 -0700 Subject: [PATCH] Fix cors_allowed_origins (#8) --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index e000662..4b17bdd 100644 --- a/main.tf +++ b/main.tf @@ -39,7 +39,7 @@ resource "aws_s3_bucket" "default" { cors_rule { allowed_headers = "${var.cors_allowed_headers}" allowed_methods = "${var.cors_allowed_methods}" - allowed_origins = "${var.cors_allowed_origins}" + allowed_origins = ["${var.cors_allowed_origins}"] expose_headers = "${var.cors_expose_headers}" max_age_seconds = "${var.cors_max_age_seconds}" }