Skip to content

Commit

Permalink
feat: updated the fip_list output to now include 'floating_ip_id' a…
Browse files Browse the repository at this point in the history
…nd 'floating_ip_crn' (#601)
  • Loading branch information
toddgiguere committed Jan 4, 2024
1 parent 476eb9a commit da8ff78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ output "fip_list" {
ipv4_address = virtual_server.primary_network_interface[0].primary_ipv4_address
secondary_ipv4_address = length(virtual_server.network_interfaces) == 0 ? null : virtual_server.network_interfaces[0].primary_ipv4_address
floating_ip = var.enable_floating_ip ? ibm_is_floating_ip.vsi_fip[vsi_key].address : null
floating_ip_id = var.enable_floating_ip ? ibm_is_floating_ip.vsi_fip[vsi_key].id : null
floating_ip_crn = var.enable_floating_ip ? ibm_is_floating_ip.vsi_fip[vsi_key].crn : null
vpc_id = var.vpc_id
} if var.enable_floating_ip == true
]
Expand Down

0 comments on commit da8ff78

Please sign in to comment.