FAQ | This is a LIVE service | Changelog

Commit 391f7a06 authored by Monty Dawson's avatar Monty Dawson
Browse files

Explicitly set network of vpc connector to stop changes being flagged

parent 8a4aade6
Pipeline #175336 passed with stage
in 44 seconds
......@@ -12,8 +12,9 @@ resource "google_compute_subnetwork" "isolated-subnet" {
}
resource "google_vpc_access_connector" "static-ip-connector" {
count = var.enable_static_egress_ip ? 1 : 0
name = "${var.name}-connector"
count = var.enable_static_egress_ip ? 1 : 0
name = "${var.name}-connector"
network = "default"
subnet {
name = google_compute_subnetwork.isolated-subnet[0].name
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment