Skip to content

Commit

Permalink
feat: update to the data structure of the vpe_ips output. Added the…
Browse files Browse the repository at this point in the history
… gateway name as the key for each list of objects. This will help in differentiating the IPs for each gateways.(#354)
  • Loading branch information
Aashiq-J committed Aug 4, 2023
1 parent a77b293 commit f864fbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"description": "The CRN of the endpoint gateway",
"pos": {
"filename": "outputs.tf",
"line": 6
"line": 7
}
},
"vpe_ips": {
Expand Down
3 changes: 2 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
output "vpe_ips" {
description = "The endpoint gateway reserved ips"
value = [for vpe_pg in ibm_is_virtual_endpoint_gateway.vpe : vpe_pg.ips]
value = { for vpe_pg in ibm_is_virtual_endpoint_gateway.vpe :
vpe_pg.name => vpe_pg.ips }
}

output "crn" {
Expand Down

0 comments on commit f864fbb

Please sign in to comment.