Skip to content

Commit

Permalink
fix cyclic dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
fshuva committed Oct 22, 2024
1 parent 2953a62 commit 54f7086
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ data "ibm_is_security_group" "fgt_security_group" {
}

resource "ibm_is_virtual_network_interface" "vni-active" {
depends_on = [ ibm_is_instance.fgt1 ]
name = "${var.CLUSTER_NAME}-fgt-interface1-${random_string.random_suffix.result}"
allow_ip_spoofing = false
auto_delete = false
Expand All @@ -25,7 +24,6 @@ resource "ibm_is_virtual_network_interface" "vni-active" {
}

resource "ibm_is_virtual_network_interface" "vni-passive" {
depends_on = [ ibm_is_instance.fgt1 ]
name = "${var.CLUSTER_NAME}-fgt-interface2-${random_string.random_suffix.result}"
allow_ip_spoofing = false
auto_delete = false
Expand Down

0 comments on commit 54f7086

Please sign in to comment.