Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: use site_prefix in DNS entries #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
blimmer wants to merge 2 commits into TechToSpeech:release/0.2.0
base: release/0.2.0
Choose a base branch
Loading
from blimmer:fix/dns-entries

Conversation

@blimmer
Copy link

@blimmer blimmer commented May 15, 2022

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

@@ -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

Copy link
Collaborator

nvnivs commented May 15, 2022

Seems related with #51

blimmer reacted with thumbs up emoji

@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

Reviewers

@petewilcock petewilcock Awaiting requested review from petewilcock petewilcock is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /