From 426697e1a2fd0b4298f47fbb4373a0af2b4eb91c Mon Sep 17 00:00:00 2001 From: Karl Isenberg Date: Thu, 22 Feb 2024 11:39:23 -0800 Subject: [PATCH] chore: Add subnets in us-central2 (#1141) --- e2e/testinfra/terraform/prow/networks.tf | 99 ++++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/e2e/testinfra/terraform/prow/networks.tf b/e2e/testinfra/terraform/prow/networks.tf index 857fc1d4c4..280fbae906 100644 --- a/e2e/testinfra/terraform/prow/networks.tf +++ b/e2e/testinfra/terraform/prow/networks.tf @@ -117,3 +117,102 @@ resource "google_compute_subnetwork" "e2e-subnetwork-11" { description = "Subnetwork for use in e2e test clusters" private_ip_google_access = false } + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-1" { + name = "prow-e2e-subnetwork-usc2-1" + ip_cidr_range = "10.1.0.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-2" { + name = "prow-e2e-subnetwork-usc2-2" + ip_cidr_range = "10.1.16.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-3" { + name = "prow-e2e-subnetwork-usc2-3" + ip_cidr_range = "10.1.32.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-4" { + name = "prow-e2e-subnetwork-usc2-4" + ip_cidr_range = "10.1.48.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-5" { + name = "prow-e2e-subnetwork-usc2-5" + ip_cidr_range = "10.1.64.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-6" { + name = "prow-e2e-subnetwork-usc2-6" + ip_cidr_range = "10.1.80.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-7" { + name = "prow-e2e-subnetwork-usc2-7" + ip_cidr_range = "10.1.96.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-8" { + name = "prow-e2e-subnetwork-usc2-8" + ip_cidr_range = "10.1.112.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-9" { + name = "prow-e2e-subnetwork-usc2-9" + ip_cidr_range = "10.1.128.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-10" { + name = "prow-e2e-subnetwork-usc2-10" + ip_cidr_range = "10.1.144.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} + +resource "google_compute_subnetwork" "e2e-subnetwork-usc2-11" { + name = "prow-e2e-subnetwork-usc2-11" + ip_cidr_range = "10.1.160.0/20" + region = "us-central2" + network = google_compute_network.e2e-network.id + description = "Subnetwork for use in e2e test clusters" + private_ip_google_access = false +} \ No newline at end of file