From f348e838612d9bfe64581cf9629a8dc77aedef1f Mon Sep 17 00:00:00 2001 From: Paul Bastide Date: Tue, 23 Aug 2022 08:07:42 -0400 Subject: [PATCH] Update the bastion network name to pi_network_name #437 As identified in issue #437, the bastion network name results in a deprecation warning. The PR updates to support the new PowerVS terraform field `pi_network_name` Signed-off-by: Paul Bastide --- modules/1_prepare/prepare.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/1_prepare/prepare.tf b/modules/1_prepare/prepare.tf index 2dd07ea11..0e0fb8935 100644 --- a/modules/1_prepare/prepare.tf +++ b/modules/1_prepare/prepare.tf @@ -102,7 +102,7 @@ data "ibm_pi_instance_ip" "bastion_ip" { depends_on = [ibm_pi_instance.bastion] pi_instance_name = ibm_pi_instance.bastion[count.index].pi_instance_name - pi_network_name = data.ibm_pi_network.network.name + pi_network_name = data.ibm_pi_network.network.pi_network_name pi_cloud_instance_id = var.service_instance_id } @@ -411,7 +411,7 @@ resource "ibm_pi_network_port" "bastion_vip" { count = local.bastion_count > 1 ? 1 : 0 depends_on = [ibm_pi_instance.bastion] - pi_network_name = data.ibm_pi_network.network.name + pi_network_name = data.ibm_pi_network.network.pi_network_name pi_cloud_instance_id = var.service_instance_id }