-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add records_default_proxied variable #48
Conversation
💥 This pull request now has conflicts. Could you fix it @glensc? 🙏 |
💥 This pull request now has conflicts. Could you fix it @glensc? 🙏 |
no point resolving conflicts if this isn't going to be accepted. so far nobody as reviewed this |
This PR was closed due to inactivity and merge conflicts. 😭 |
well. nobody reviewed the code, what's the point of putting more work if nobody accepts this? |
One of the best ways to get visibility is to join the slack channel called #pr-reviews in the sweetops community slack |
@@ -10,6 +10,7 @@ locals { | |||
for index, record in var.records : | |||
try(record.key, format("%s-%s-%s", record.name, record.type, record.value)) => record | |||
} : {} | |||
records_default_proxied = var.records_default_proxied |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This local isn't providing much value. You can use the var directly below instead
records_default_proxied = var.records_default_proxied |
@@ -40,7 +41,7 @@ resource "cloudflare_record" "default" { | |||
value = each.value.value | |||
comment = lookup(each.value, "comment", null) | |||
priority = lookup(each.value, "priority", null) | |||
proxied = lookup(each.value, "proxied", false) | |||
proxied = lookup(each.value, "proxied", local.records_default_proxied) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proxied = lookup(each.value, "proxied", local.records_default_proxied) | |
proxied = lookup(each.value, "proxied", var.records_default_proxied) |
I can't reopen the pr, not enough permissions. need to be project developer? |
references
Fixes #47
NOTE: df34716 fixes version pins added in 9141c9a commit.