File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ resource "google_compute_network" "vpc" {
5
5
6
6
lifecycle {
7
7
create_before_destroy = true
8
+ prevent_destroy = false
8
9
}
9
10
}
10
11
@@ -58,13 +59,21 @@ resource "google_compute_global_address" "private_ip_address" {
58
59
address_type = " INTERNAL"
59
60
prefix_length = 16
60
61
network = google_compute_network. vpc . id
62
+
63
+ lifecycle {
64
+ create_before_destroy = true
65
+ }
61
66
}
62
67
63
68
resource "google_service_networking_connection" "private_vpc_connection" {
64
69
provider = google
65
70
network = google_compute_network. vpc . id
66
71
service = " servicenetworking.googleapis.com"
67
72
reserved_peering_ranges = [google_compute_global_address . private_ip_address . name ]
73
+
74
+ lifecycle {
75
+ create_before_destroy = true
76
+ }
68
77
}
69
78
70
79
resource "google_service_account" "workload_identity_sa" {
You can’t perform that action at this time.
0 commit comments