Skip to content

Commit

Permalink
feat: add placement group details to outputs (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
shemau authored Sep 22, 2023
1 parent 09d1344 commit 162d7fc
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 18 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,7 @@ statement instead the previous block.
| <a name="output_cos_names"></a> [cos\_names](#output\_cos\_names) | List of Cloud Object Storage instance names |
| <a name="output_f5_hosts"></a> [f5\_hosts](#output\_f5\_hosts) | List of bastion host names |
| <a name="output_fip_vsi_data"></a> [fip\_vsi\_data](#output\_fip\_vsi\_data) | A list of VSI with name, id, zone, and primary ipv4 address, VPC Name, and floating IP. This list only contains instances with a floating IP attached. |
| <a name="output_placement_groups"></a> [placement\_groups](#output\_placement\_groups) | List of placement groups. |
| <a name="output_resource_group_data"></a> [resource\_group\_data](#output\_resource\_group\_data) | List of resource groups data used within landing zone. |
| <a name="output_resource_group_names"></a> [resource\_group\_names](#output\_resource\_group\_names) | List of resource groups names used within landing zone. |
| <a name="output_secrets_manager_data"></a> [secrets\_manager\_data](#output\_secrets\_manager\_data) | Secrets manager instance |
Expand Down
45 changes: 27 additions & 18 deletions module-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,16 @@
"description": "A list of VSI with name, id, zone, and primary ipv4 address, VPC Name, and floating IP. This list only contains instances with a floating IP attached.",
"pos": {
"filename": "outputs.tf",
"line": 307
"line": 318
}
},
"placement_groups": {
"name": "placement_groups",
"description": "List of placement groups.",
"value": "resource.ibm_is_placement_group.placement_group",
"pos": {
"filename": "outputs.tf",
"line": 195
}
},
"resource_group_data": {
Expand All @@ -643,71 +652,71 @@
"value": "local.resource_groups",
"pos": {
"filename": "outputs.tf",
"line": 200
"line": 211
}
},
"resource_group_names": {
"name": "resource_group_names",
"description": "List of resource groups names used within landing zone.",
"pos": {
"filename": "outputs.tf",
"line": 195
"line": 206
}
},
"secrets_manager_data": {
"name": "secrets_manager_data",
"description": "Secrets manager instance",
"pos": {
"filename": "outputs.tf",
"line": 211
"line": 222
}
},
"security_group_data": {
"name": "security_group_data",
"description": "List of security group data",
"pos": {
"filename": "outputs.tf",
"line": 231
"line": 242
}
},
"security_group_names": {
"name": "security_group_names",
"description": "List of security group names",
"pos": {
"filename": "outputs.tf",
"line": 222
"line": 233
}
},
"service_authorization_data": {
"name": "service_authorization_data",
"description": "List of service authorization data",
"pos": {
"filename": "outputs.tf",
"line": 250
"line": 261
}
},
"service_authorization_names": {
"name": "service_authorization_names",
"description": "List of service authorization names",
"pos": {
"filename": "outputs.tf",
"line": 245
"line": 256
}
},
"ssh_key_data": {
"name": "ssh_key_data",
"description": "List of SSH key data",
"pos": {
"filename": "outputs.tf",
"line": 269
"line": 280
}
},
"ssh_key_names": {
"name": "ssh_key_names",
"description": "List of SSH key names",
"pos": {
"filename": "outputs.tf",
"line": 264
"line": 275
}
},
"subnet_data": {
Expand All @@ -731,15 +740,15 @@
"description": "Created transit gateway data",
"pos": {
"filename": "outputs.tf",
"line": 288
"line": 299
}
},
"transit_gateway_name": {
"name": "transit_gateway_name",
"description": "Name of created transit gateway",
"pos": {
"filename": "outputs.tf",
"line": 283
"line": 294
}
},
"vpc_data": {
Expand All @@ -763,47 +772,47 @@
"description": "List of VPE gateways data",
"pos": {
"filename": "outputs.tf",
"line": 357
"line": 368
}
},
"vpe_gateway_names": {
"name": "vpe_gateway_names",
"description": "VPE gateway names",
"pos": {
"filename": "outputs.tf",
"line": 349
"line": 360
}
},
"vpn_data": {
"name": "vpn_data",
"description": "List of VPN data",
"pos": {
"filename": "outputs.tf",
"line": 379
"line": 390
}
},
"vpn_names": {
"name": "vpn_names",
"description": "List of VPN names",
"pos": {
"filename": "outputs.tf",
"line": 371
"line": 382
}
},
"vsi_data": {
"name": "vsi_data",
"description": "A list of VSI with name, id, zone, and primary ipv4 address, VPC Name, and floating IP.",
"pos": {
"filename": "outputs.tf",
"line": 325
"line": 336
}
},
"vsi_names": {
"name": "vsi_names",
"description": "List of VSI names",
"pos": {
"filename": "outputs.tf",
"line": 299
"line": 310
}
}
},
Expand Down
11 changes: 11 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,17 @@ output "subnet_data" {

##############################################################################

##############################################################################
# Placement Group Outputs
##############################################################################

output "placement_groups" {
description = "List of placement groups."
value = resource.ibm_is_placement_group.placement_group
}

##############################################################################

##############################################################################
# Resource Group Outputs
##############################################################################
Expand Down

0 comments on commit 162d7fc

Please sign in to comment.