Skip to content

Commit

Permalink
fix security groups
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
  • Loading branch information
prb112 committed Oct 26, 2023
1 parent a7c6298 commit 3bb4e25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/1_vpc_prepare/security_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ resource "ibm_is_security_group_rule" "worker_all_outbound_powervs" {
}

# inbound to security group
resource "ibm_is_security_group_rule" "worker_all_cidr" {
resource "ibm_is_security_group_rule" "worker_all_sg" {
count = local.sg_not_exists
group = ibm_is_security_group.worker_vm_sg[0].id
direction = "inbound"
remote = ibm_is_security_group.worker_vm_sg[0].id
}

# inbound to cidr
resource "ibm_is_security_group_rule" "worker_all_cidr" {
resource "ibm_is_security_group_rule" "worker_all_powervs_cidr" {
count = local.sg_not_exists
group = ibm_is_security_group.worker_vm_sg[0].id
direction = "inbound"
Expand Down

0 comments on commit 3bb4e25

Please sign in to comment.