File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
modules/network-connectivity-center Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ resource "google_network_connectivity_hub" "hub" {
4040
4141resource "google_network_connectivity_spoke" "vpc_spoke" {
4242 for_each = var. vpc_spokes
43- project = var . project_id
43+ project = split ( " / " , each . value . uri )[ 1 ]
4444 name = each. key
4545 location = " global"
4646 description = each. value . description
@@ -78,11 +78,6 @@ resource "google_network_connectivity_spoke" "hybrid_spoke" {
7878 site_to_site_data_transfer = each. value . site_to_site_data_transfer
7979 }
8080 }
81-
82- # TODO: gleichda remove once b/369823133 is fixed
83- depends_on = [
84- google_network_connectivity_spoke . vpc_spoke
85- ]
8681}
8782
8883resource "google_network_connectivity_spoke" "router_appliance_spoke" {
@@ -106,9 +101,4 @@ resource "google_network_connectivity_spoke" "router_appliance_spoke" {
106101 site_to_site_data_transfer = each. value . site_to_site_data_transfer
107102
108103 }
109-
110- # TODO: gleichda remove once b/369823133 is fixed
111- depends_on = [
112- google_network_connectivity_spoke . hybrid_spoke
113- ]
114104}
You can’t perform that action at this time.
0 commit comments