Skip to content
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

Fix DNS Zones variable naming #867

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix DNS Zones variable naming #867

wants to merge 3 commits into from

Conversation

phillebaba
Copy link
Contributor

This change fixes variable naming to be plural when dns zones are a list.

@phillebaba phillebaba force-pushed the fix/dns-zone branch 4 times, most recently from a904d2f to 35acb7f Compare November 21, 2022 08:23
@phillebaba phillebaba changed the title Fix DNS Zone naming Fix DNS Zones variable naming Nov 21, 2022
Copy link
Contributor

@NissesSenap NissesSenap left a comment

Choose a reason for hiding this comment

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

Minor comment, I understand if you don't agree.
Great to get this consistent :)

@@ -15,16 +15,16 @@ locals {
"velero",
"promtail"
]
dns_zone = {
route53_zones = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm why don't you want to use dns zones any more?
From my point of view we are working with the construct of dns zones, not a specific product.
I can live with it but just a thought.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because this local variable does not represent dns_zones as in all other uses. Its an iteration of Route53 zone ids. Having the same name would confuse more than it helps. Giving it a different name makes it clear that it contains other data.

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.

None yet

2 participants