Skip to content

Commit f864fbb

Browse files
authored
feat: update to the data structure of the vpe_ips output. Added the gateway name as the key for each list of objects. This will help in differentiating the IPs for each gateways.(#354)
1 parent a77b293 commit f864fbb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

module-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"description": "The CRN of the endpoint gateway",
135135
"pos": {
136136
"filename": "outputs.tf",
137-
"line": 6
137+
"line": 7
138138
}
139139
},
140140
"vpe_ips": {

outputs.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
output "vpe_ips" {
22
description = "The endpoint gateway reserved ips"
3-
value = [for vpe_pg in ibm_is_virtual_endpoint_gateway.vpe : vpe_pg.ips]
3+
value = { for vpe_pg in ibm_is_virtual_endpoint_gateway.vpe :
4+
vpe_pg.name => vpe_pg.ips }
45
}
56

67
output "crn" {

0 commit comments

Comments
 (0)