File tree 2 files changed +3
-3
lines changed
scaletest/terraform/infra
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ resource "google_sql_database_instance" "db" {
22
22
23
23
ip_configuration {
24
24
ipv4_enabled = false
25
- private_network = " scaletest "
25
+ private_network = google_compute_network . vpc . id
26
26
}
27
27
28
28
insights_config {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ resource "google_compute_global_address" "sql_peering" {
21
21
purpose = " VPC_PEERING"
22
22
address_type = " INTERNAL"
23
23
prefix_length = 16
24
- network = " scaletest "
24
+ network = google_compute_network . vpc . id
25
25
}
26
26
27
27
resource "google_compute_address" "coder" {
@@ -33,7 +33,7 @@ resource "google_compute_address" "coder" {
33
33
}
34
34
35
35
resource "google_service_networking_connection" "private_vpc_connection" {
36
- network = " scaletest "
36
+ network = google_compute_network . vpc . id
37
37
service = " servicenetworking.googleapis.com"
38
38
reserved_peering_ranges = [google_compute_global_address . sql_peering . name ]
39
39
}
You can’t perform that action at this time.
0 commit comments