Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
titouan-joseph authored Sep 6, 2024
1 parent 133e6be commit 3ff4b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ resource "aws_instance" "f5_bigip" {

# set the mgmt interface
dynamic "network_interface" {
for_each = length(compact(local.mgmt_public_private_ip_primary)) > 0 ? [aws_network_interface.mgmt[0].id] : [aws_network_interface.mgmt1[0].id]
for_each = length(compact(local.mgmt_private_ip_primary)) > 0 ? [aws_network_interface.mgmt[0].id] : [aws_network_interface.mgmt1[0].id]
content {
network_interface_id = network_interface.value
device_index = 0
Expand Down

0 comments on commit 3ff4b4e

Please sign in to comment.