-
-
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
Sync github #23
Sync github #23
Conversation
main.tf
Outdated
@@ -3,7 +3,7 @@ locals { | |||
smart_routing = local.argo_enabed && var.argo_smart_routing_enabled ? "on" : "off" | |||
argo_enabed = module.this.enabled && var.argo_enabled | |||
zone_enabled = module.this.enabled && var.zone_enabled | |||
zone_exists = module.this.enabled && ! var.zone_enabled | |||
zone_exists = module.this.enabled && !var.zone_enabled | |||
records_enabled = module.this.enabled && length(var.records) > 0 | |||
zone_id = local.zone_enabled ? join("", cloudflare_zone.default.*.id) : (local.zone_exists ? lookup(data.cloudflare_zones.default[0].zones[0], "id") : null) |
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.
List items should be accessed using square brackets
main.tf
Outdated
@@ -3,7 +3,7 @@ locals { | |||
smart_routing = local.argo_enabed && var.argo_smart_routing_enabled ? "on" : "off" | |||
argo_enabed = module.this.enabled && var.argo_enabled | |||
zone_enabled = module.this.enabled && var.zone_enabled | |||
zone_exists = module.this.enabled && ! var.zone_enabled | |||
zone_exists = module.this.enabled && !var.zone_enabled | |||
records_enabled = module.this.enabled && length(var.records) > 0 | |||
zone_id = local.zone_enabled ? join("", cloudflare_zone.default.*.id) : (local.zone_exists ? lookup(data.cloudflare_zones.default[0].zones[0], "id") : null) |
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.
List items should be accessed using square brackets
main.tf
Outdated
@@ -3,7 +3,7 @@ locals { | |||
smart_routing = local.argo_enabed && var.argo_smart_routing_enabled ? "on" : "off" | |||
argo_enabed = module.this.enabled && var.argo_enabled | |||
zone_enabled = module.this.enabled && var.zone_enabled | |||
zone_exists = module.this.enabled && ! var.zone_enabled | |||
zone_exists = module.this.enabled && !var.zone_enabled | |||
records_enabled = module.this.enabled && length(var.records) > 0 | |||
zone_id = local.zone_enabled ? join("", cloudflare_zone.default.*.id) : (local.zone_exists ? lookup(data.cloudflare_zones.default[0].zones[0], "id") : null) |
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.
List items should be accessed using square brackets
main.tf
Outdated
@@ -3,7 +3,7 @@ locals { | |||
smart_routing = local.argo_enabed && var.argo_smart_routing_enabled ? "on" : "off" | |||
argo_enabed = module.this.enabled && var.argo_enabled | |||
zone_enabled = module.this.enabled && var.zone_enabled | |||
zone_exists = module.this.enabled && ! var.zone_enabled | |||
zone_exists = module.this.enabled && !var.zone_enabled | |||
records_enabled = module.this.enabled && length(var.records) > 0 | |||
zone_id = local.zone_enabled ? join("", cloudflare_zone.default.*.id) : (local.zone_exists ? lookup(data.cloudflare_zones.default[0].zones[0], "id") : null) |
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.
List items should be accessed using square brackets
main.tf
Outdated
@@ -3,7 +3,7 @@ locals { | |||
smart_routing = local.argo_enabed && var.argo_smart_routing_enabled ? "on" : "off" | |||
argo_enabed = module.this.enabled && var.argo_enabled | |||
zone_enabled = module.this.enabled && var.zone_enabled | |||
zone_exists = module.this.enabled && ! var.zone_enabled | |||
zone_exists = module.this.enabled && !var.zone_enabled | |||
records_enabled = module.this.enabled && length(var.records) > 0 | |||
zone_id = local.zone_enabled ? join("", cloudflare_zone.default.*.id) : (local.zone_exists ? lookup(data.cloudflare_zones.default[0].zones[0], "id") : null) |
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.
List items should be accessed using square brackets
Rebuild github dir from the template