Skip to content

Commit

Permalink
fix: add che01 and update the link to the powervs regions
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Oct 9, 2024
1 parent afa612f commit 1ad22f4
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions modules/0_vpc/reuse/vpc.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# Copyright 2024 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache-2.0
################################################################

# Ref: VPC Regions https://cloud.ibm.com/docs/overview?topic=overview-locations
# Ref: PowerVS Regions https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-creating-power-virtual-server
# Ref: PowerVS Regions https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-ibm-cloud-reg
# Ref: https://cluster-api-ibmcloud.sigs.k8s.io/reference/regions-zones-mapping.html

# Dev Note: This is the file where the VPC should be created in the future.
Expand All @@ -15,17 +15,17 @@
# If the PowerVS Region or Zone is empty, the code auto-populates the zone/region information
locals {
vpc_pvs = {
us-south = { #OK
region = "dal10",
zone = "dal"
us-south = {
region = "us-south",
zone = "us-south-1"
},
us-east = { #OK
us-east = {
region = "wdc",
zone = "wdc07"
},
br-sao = {
region = "sao",
zone = "sao01"
zone = "sao04"
},
ca-tor = {
region = "tor",
Expand All @@ -35,7 +35,7 @@ locals {
region = "mon",
zone = "mon01"
},
eu-de = { #OK
eu-de = {
region = "eu-de",
zone = "eu-de-1"
},
Expand All @@ -59,9 +59,13 @@ locals {
region = "osa",
zone = "osa21"
},
br-sao = { #OK
br-sao = {
region = "sao",
zone = "sao04"
},
che01 = {
region = "che01",
zone = "che01"
}
}
# Certain regions don't have a good mapping
Expand Down

0 comments on commit 1ad22f4

Please sign in to comment.