Skip to content

Commit

Permalink
Merge pull request #438 from prb112/issue-437
Browse files Browse the repository at this point in the history
Update the bastion network name to pi_network_name #437
  • Loading branch information
Power Cloud Robot authored Aug 26, 2022
2 parents 5cdbc55 + f348e83 commit f93756a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/1_prepare/prepare.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit f93756a

Please sign in to comment.