-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from marknooch/Findafoodtruck.ga
Create DNS zone record so we can get freenom using the correct nameservers
- Loading branch information
Showing
4 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
resource "aws_route53_zone" "main" { | ||
name = var.domain-name | ||
} | ||
|
||
# comment out so we can get the zone and configure name records in freenom before getting the rest of this stuff setup | ||
# resource "aws_route53_record" "root-a" { | ||
# zone_id = aws_route53_zone.main.zone_id | ||
# name = var.domain-name | ||
# type = "A" | ||
|
||
# alias { | ||
# name = aws_cloudfront_distribution.root_s3_distribution.domainvar.domain-name | ||
# zone_id = aws_cloudfront_distribution.root_s3_distribution.hosted_zone_id | ||
# evaluate_target_health = false | ||
# } | ||
# } | ||
|
||
# resource "aws_route53_record" "www-a" { | ||
# zone_id = aws_route53_zone.main.zone_id | ||
# name = "www.${var.domain-name}" | ||
# type = "A" | ||
|
||
# alias { | ||
# name = aws_cloudfront_distribution.www_s3_distribution.domainvar.domain-name | ||
# zone_id = aws_cloudfront_distribution.www_s3_distribution.hosted_zone_id | ||
# evaluate_target_health = false | ||
# } | ||
# } |
This file contains 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
This file contains 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