Skip to content

Conversation

blimmer
Copy link

@blimmer blimmer commented May 15, 2022

Previously, the site_prefix was not taken into account when creating the DNS entries.

@blimmer blimmer requested a review from petewilcock as a code owner May 15, 2022 02:04
@@ -1,18 +1,30 @@
resource "aws_route53_record" "www" {
count = var.site_prefix == "www" ? 0 : 1
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the prefix is www, we shouldn't create www.www.example.com.

resource "aws_route53_record" "apex_aaaa" {
zone_id = var.hosted_zone_id
name = "${var.site_prefix}${var.site_prefix == "" ? "" : "."}${var.site_domain}"
type = "AAAA"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create AAAA record for ipv6 support

@blimmer blimmer force-pushed the fix/dns-entries branch from 2fbcb82 to 68a56f0 Compare May 15, 2022 02:19
@nvnivs
Copy link
Collaborator

nvnivs commented May 15, 2022

Seems related with #51

@petewilcock petewilcock changed the base branch from master to release/0.2.0 May 15, 2022 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants