Skip to content

Commit

Permalink
OCTOPUS-532: duplicate subnets are changed
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Nov 2, 2023
1 parent 41e902f commit 30d3871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/1_vpc_prepare/subnets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"]
Expand Down

0 comments on commit 30d3871

Please sign in to comment.