We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cbf0721 + bfc3875 commit 6ab1a2cCopy full SHA for 6ab1a2c
main.tf
@@ -38,7 +38,7 @@ resource "aws_route53_record" "domains" {
38
type = "A"
39
40
alias {
41
- name = "s3-website.${aws_s3_bucket.route53_http_redirect_bucket.region}.amazonaws.com"
+ name = aws_s3_bucket_website_configuration.route53_http_redirect_webconf.website_domain
42
zone_id = aws_s3_bucket.route53_http_redirect_bucket.hosted_zone_id
43
evaluate_target_health = true
44
}
0 commit comments