From 30d38716ad3d311f1ada26f845c56b4abd3e9a0c Mon Sep 17 00:00:00 2001 From: Paul Bastide Date: Thu, 2 Nov 2023 16:11:32 -0400 Subject: [PATCH] OCTOPUS-532: duplicate subnets are changed Signed-off-by: Paul Bastide --- modules/1_vpc_prepare/subnets.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/1_vpc_prepare/subnets.tf b/modules/1_vpc_prepare/subnets.tf index b2ea08d..8d22eb2 100644 --- a/modules/1_vpc_prepare/subnets.tf +++ b/modules/1_vpc_prepare/subnets.tf @@ -47,7 +47,7 @@ resource "ibm_is_subnet" "subnet_worker_zone_2" { resource "ibm_is_vpc_address_prefix" "address_prefix_worker_zone_3" { count = var.create_custom_subnet ? 1 : 0 - cidr = "10.0.2.0/24" + cidr = "10.0.3.0/24" name = "worker-zone-2-add-prefix" vpc = data.ibm_is_vpc.vpc.id zone = var.worker_3["zone"] @@ -58,7 +58,7 @@ resource "ibm_is_subnet" "subnet_worker_zone_3" { depends_on = [ ibm_is_vpc_address_prefix.address_prefix_worker_zone_3 ] - ipv4_cidr_block = "10.0.2.0/24" + ipv4_cidr_block = "10.0.3.0/24" name = "worker-zone-2-subnet" vpc = data.ibm_is_vpc.vpc.id zone = var.worker_3["zone"]