Fix ip exhaustion by increasing services ip address range.
This commit is contained in:
@@ -39,11 +39,6 @@ resource "google_compute_subnetwork" "subnet" {
|
||||
ip_cidr_range = "10.100.0.0/16"
|
||||
region = var.region
|
||||
network = google_compute_network.private_network.id
|
||||
|
||||
secondary_ip_range {
|
||||
range_name = "private-subnetwork-secondary"
|
||||
ip_cidr_range = "192.168.10.0/24"
|
||||
}
|
||||
}
|
||||
|
||||
resource "google_compute_global_address" "private_ip_address" {
|
||||
@@ -51,7 +46,7 @@ resource "google_compute_global_address" "private_ip_address" {
|
||||
name = "private-ip-address"
|
||||
purpose = "VPC_PEERING"
|
||||
address_type = "INTERNAL"
|
||||
prefix_length = 24
|
||||
prefix_length = 16
|
||||
network = google_compute_network.private_network.id
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user