Skip to content

Commit d52dc46

Browse files
committed
use map for redirects
1 parent fadeb3d commit d52dc46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ module "s3-static-website" {
2424
source = "conortm/s3-static-website/aws"
2525
2626
domain_name = "www.my-aws-s3-static-website.com"
27-
redirects = ["my-aws-s3-static-website.com"]
27+
redirects = {
28+
"my-static-website" : "my-aws-s3-static-website.com"
29+
}
2830
secret = "SOME_SECRET_MANAGED_OUTSIDE_OF_VERSION_CONTROL"
2931
cert_arn = "ARN_OF_SSL_CERTIFICATE"
3032
zone_id = "HOSTED_ZONE_ID"

0 commit comments

Comments
 (0)