Skip to content

Commit 162d7fc

Browse files
authored
feat: add placement group details to outputs (#582)
1 parent 09d1344 commit 162d7fc

File tree

3 files changed

+39
-18
lines changed

3 files changed

+39
-18
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,7 @@ statement instead the previous block.
10071007
| <a name="output_cos_names"></a> [cos\_names](#output\_cos\_names) | List of Cloud Object Storage instance names |
10081008
| <a name="output_f5_hosts"></a> [f5\_hosts](#output\_f5\_hosts) | List of bastion host names |
10091009
| <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. |
1010+
| <a name="output_placement_groups"></a> [placement\_groups](#output\_placement\_groups) | List of placement groups. |
10101011
| <a name="output_resource_group_data"></a> [resource\_group\_data](#output\_resource\_group\_data) | List of resource groups data used within landing zone. |
10111012
| <a name="output_resource_group_names"></a> [resource\_group\_names](#output\_resource\_group\_names) | List of resource groups names used within landing zone. |
10121013
| <a name="output_secrets_manager_data"></a> [secrets\_manager\_data](#output\_secrets\_manager\_data) | Secrets manager instance |

module-metadata.json

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,16 @@
634634
"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.",
635635
"pos": {
636636
"filename": "outputs.tf",
637-
"line": 307
637+
"line": 318
638+
}
639+
},
640+
"placement_groups": {
641+
"name": "placement_groups",
642+
"description": "List of placement groups.",
643+
"value": "resource.ibm_is_placement_group.placement_group",
644+
"pos": {
645+
"filename": "outputs.tf",
646+
"line": 195
638647
}
639648
},
640649
"resource_group_data": {
@@ -643,71 +652,71 @@
643652
"value": "local.resource_groups",
644653
"pos": {
645654
"filename": "outputs.tf",
646-
"line": 200
655+
"line": 211
647656
}
648657
},
649658
"resource_group_names": {
650659
"name": "resource_group_names",
651660
"description": "List of resource groups names used within landing zone.",
652661
"pos": {
653662
"filename": "outputs.tf",
654-
"line": 195
663+
"line": 206
655664
}
656665
},
657666
"secrets_manager_data": {
658667
"name": "secrets_manager_data",
659668
"description": "Secrets manager instance",
660669
"pos": {
661670
"filename": "outputs.tf",
662-
"line": 211
671+
"line": 222
663672
}
664673
},
665674
"security_group_data": {
666675
"name": "security_group_data",
667676
"description": "List of security group data",
668677
"pos": {
669678
"filename": "outputs.tf",
670-
"line": 231
679+
"line": 242
671680
}
672681
},
673682
"security_group_names": {
674683
"name": "security_group_names",
675684
"description": "List of security group names",
676685
"pos": {
677686
"filename": "outputs.tf",
678-
"line": 222
687+
"line": 233
679688
}
680689
},
681690
"service_authorization_data": {
682691
"name": "service_authorization_data",
683692
"description": "List of service authorization data",
684693
"pos": {
685694
"filename": "outputs.tf",
686-
"line": 250
695+
"line": 261
687696
}
688697
},
689698
"service_authorization_names": {
690699
"name": "service_authorization_names",
691700
"description": "List of service authorization names",
692701
"pos": {
693702
"filename": "outputs.tf",
694-
"line": 245
703+
"line": 256
695704
}
696705
},
697706
"ssh_key_data": {
698707
"name": "ssh_key_data",
699708
"description": "List of SSH key data",
700709
"pos": {
701710
"filename": "outputs.tf",
702-
"line": 269
711+
"line": 280
703712
}
704713
},
705714
"ssh_key_names": {
706715
"name": "ssh_key_names",
707716
"description": "List of SSH key names",
708717
"pos": {
709718
"filename": "outputs.tf",
710-
"line": 264
719+
"line": 275
711720
}
712721
},
713722
"subnet_data": {
@@ -731,15 +740,15 @@
731740
"description": "Created transit gateway data",
732741
"pos": {
733742
"filename": "outputs.tf",
734-
"line": 288
743+
"line": 299
735744
}
736745
},
737746
"transit_gateway_name": {
738747
"name": "transit_gateway_name",
739748
"description": "Name of created transit gateway",
740749
"pos": {
741750
"filename": "outputs.tf",
742-
"line": 283
751+
"line": 294
743752
}
744753
},
745754
"vpc_data": {
@@ -763,47 +772,47 @@
763772
"description": "List of VPE gateways data",
764773
"pos": {
765774
"filename": "outputs.tf",
766-
"line": 357
775+
"line": 368
767776
}
768777
},
769778
"vpe_gateway_names": {
770779
"name": "vpe_gateway_names",
771780
"description": "VPE gateway names",
772781
"pos": {
773782
"filename": "outputs.tf",
774-
"line": 349
783+
"line": 360
775784
}
776785
},
777786
"vpn_data": {
778787
"name": "vpn_data",
779788
"description": "List of VPN data",
780789
"pos": {
781790
"filename": "outputs.tf",
782-
"line": 379
791+
"line": 390
783792
}
784793
},
785794
"vpn_names": {
786795
"name": "vpn_names",
787796
"description": "List of VPN names",
788797
"pos": {
789798
"filename": "outputs.tf",
790-
"line": 371
799+
"line": 382
791800
}
792801
},
793802
"vsi_data": {
794803
"name": "vsi_data",
795804
"description": "A list of VSI with name, id, zone, and primary ipv4 address, VPC Name, and floating IP.",
796805
"pos": {
797806
"filename": "outputs.tf",
798-
"line": 325
807+
"line": 336
799808
}
800809
},
801810
"vsi_names": {
802811
"name": "vsi_names",
803812
"description": "List of VSI names",
804813
"pos": {
805814
"filename": "outputs.tf",
806-
"line": 299
815+
"line": 310
807816
}
808817
}
809818
},

outputs.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,17 @@ output "subnet_data" {
188188

189189
##############################################################################
190190

191+
##############################################################################
192+
# Placement Group Outputs
193+
##############################################################################
194+
195+
output "placement_groups" {
196+
description = "List of placement groups."
197+
value = resource.ibm_is_placement_group.placement_group
198+
}
199+
200+
##############################################################################
201+
191202
##############################################################################
192203
# Resource Group Outputs
193204
##############################################################################

0 commit comments

Comments
 (0)