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}" }