Skip to content

Commit

Permalink
Merge pull request #515 from yussufsh/vpctgw
Browse files Browse the repository at this point in the history
Add support for additional PER data centers
  • Loading branch information
Power Cloud Robot authored Feb 7, 2024
2 parents e280403 + 33c9f96 commit 9d931cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ data "ibm_pi_workspace" "workspace" {

locals {
# PER doc reference: https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-per
is_per = contains(["dal10", "fra04", "fra05", "wdc06", "wdc07", "mad02", "mad04", "sao04"], var.ibmcloud_zone)
is_per = contains(["dal10", "dal12", "fra04", "fra05", "wdc06", "wdc07", "mad02", "mad04", "sao01", "sao04"], var.ibmcloud_zone)
create_cloud_connection = var.use_ibm_cloud_services && var.ibm_cloud_connection_name == "" && !local.is_per
tgw_network = module.prepare.cloud_connection_name == "" ? data.ibm_pi_workspace.workspace.pi_workspace_details.crn : module.prepare.cloud_connection_name
}
Expand Down

0 comments on commit 9d931cc

Please sign in to comment.