Created
January 29, 2020 09:19
-
-
Save david7482/73a47e131ceb774a2ef0b3e372b948b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_route53_record" "website" { | |
zone_id = data.aws_route53_zone.main.zone_id | |
name = var.fqdn | |
type = "A" | |
alias { | |
evaluate_target_health = false | |
name = aws_cloudfront_distribution.website.domain_name | |
zone_id = aws_cloudfront_distribution.website.hosted_zone_id | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment