I have an existing VPC network and want to create temporary small clusters, each with a /29 subnet in that VPC network.
Looks like this:
resource google_compute_subnetwork cluster-subnetwork {
name = "cluster-subnetwork-test"
ip_cidr_range = "10.0.10.0/29"
region = var.region
network = "https://www.googleapis.com/compute/v1/projects/my-project-123456/global/networks/vpc-cluster-network"
}
Currently I manually have to update the ip_cidr_range parameter with a free subnet.
Is there a way to automatically select subnet ip_cidr_range?
Regards, Daniel