We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfa4606 commit 08d7167Copy full SHA for 08d7167
modules/routes-beta/main.tf
@@ -28,7 +28,7 @@ resource "google_compute_route" "route" {
28
description = lookup(var.routes[count.index], "description", null)
29
tags = compact(split(",", lookup(var.routes[count.index], "tags", "")))
30
dest_range = lookup(var.routes[count.index], "destination_range", null)
31
- next_hop_gateway = lookup(var.routes[count.index], "next_hop_internet", "false") == "true" ? "default-internet-gateway" : ""
+ next_hop_gateway = lookup(var.routes[count.index], "next_hop_internet", "false") == "true" ? "default-internet-gateway" : null
32
next_hop_ip = lookup(var.routes[count.index], "next_hop_ip", null)
33
next_hop_instance = lookup(var.routes[count.index], "next_hop_instance", null)
34
next_hop_instance_zone = lookup(var.routes[count.index], "next_hop_instance_zone", null)
0 commit comments