Skip to content

Commit 4175b93

Browse files
authored
fix: extend cluster output (#606)
1 parent ded040e commit 4175b93

File tree

9 files changed

+144
-37
lines changed

9 files changed

+144
-37
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ module "cluster_pattern" {
845845
| <a name="module_placement_group_map"></a> [placement\_group\_map](#module\_placement\_group\_map) | ./dynamic_values/config_modules/list_to_map | n/a |
846846
| <a name="module_ssh_keys"></a> [ssh\_keys](#module\_ssh\_keys) | ./ssh_key | n/a |
847847
| <a name="module_teleport_config"></a> [teleport\_config](#module\_teleport\_config) | ./teleport_config | n/a |
848-
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-ibm-modules/landing-zone-vpc/ibm | 7.5.0 |
848+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-ibm-modules/landing-zone-vpc/ibm | 7.7.0 |
849849
| <a name="module_vsi"></a> [vsi](#module\_vsi) | terraform-ibm-modules/landing-zone-vsi/ibm | 2.6.0 |
850850

851851
### Resources
@@ -940,6 +940,7 @@ module "cluster_pattern" {
940940
| <a name="output_atracker_route_name"></a> [atracker\_route\_name](#output\_atracker\_route\_name) | Name of atracker route |
941941
| <a name="output_atracker_target_name"></a> [atracker\_target\_name](#output\_atracker\_target\_name) | Name of atracker target |
942942
| <a name="output_bastion_host_names"></a> [bastion\_host\_names](#output\_bastion\_host\_names) | List of bastion host names |
943+
| <a name="output_cluster_data"></a> [cluster\_data](#output\_cluster\_data) | List of cluster data |
943944
| <a name="output_cluster_names"></a> [cluster\_names](#output\_cluster\_names) | List of create cluster names |
944945
| <a name="output_cos_bucket_data"></a> [cos\_bucket\_data](#output\_cos\_bucket\_data) | List of data for COS buckets creaed |
945946
| <a name="output_cos_bucket_names"></a> [cos\_bucket\_names](#output\_cos\_bucket\_names) | List of names for COS buckets created |
@@ -969,6 +970,7 @@ module "cluster_pattern" {
969970
| <a name="output_transit_gateway_name"></a> [transit\_gateway\_name](#output\_transit\_gateway\_name) | Name of created transit gateway |
970971
| <a name="output_vpc_data"></a> [vpc\_data](#output\_vpc\_data) | List of VPC data |
971972
| <a name="output_vpc_names"></a> [vpc\_names](#output\_vpc\_names) | List of VPC names |
973+
| <a name="output_vpc_resource_list"></a> [vpc\_resource\_list](#output\_vpc\_resource\_list) | List of VPC with VSI and Cluster deployed on the VPC. |
972974
| <a name="output_vpe_gateway_data"></a> [vpe\_gateway\_data](#output\_vpe\_gateway\_data) | List of VPE gateways data |
973975
| <a name="output_vpe_gateway_names"></a> [vpe\_gateway\_names](#output\_vpe\_gateway\_names) | VPE gateway names |
974976
| <a name="output_vpn_data"></a> [vpn\_data](#output\_vpn\_data) | List of VPN data |

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ locals {
88

99
module "vpc" {
1010
source = "terraform-ibm-modules/landing-zone-vpc/ibm"
11-
version = "7.5.0"
11+
version = "7.7.0"
1212
for_each = local.vpc_map
1313
depends_on = [ibm_iam_authorization_policy.policy]
1414
name = each.value.prefix

module-metadata.json

Lines changed: 60 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,14 @@
573573
"line": 55
574574
}
575575
},
576+
"cluster_data": {
577+
"name": "cluster_data",
578+
"description": "List of cluster data",
579+
"pos": {
580+
"filename": "outputs.tf",
581+
"line": 77
582+
}
583+
},
576584
"cluster_names": {
577585
"name": "cluster_names",
578586
"description": "List of create cluster names",
@@ -586,55 +594,55 @@
586594
"description": "List of data for COS buckets creaed",
587595
"pos": {
588596
"filename": "outputs.tf",
589-
"line": 127
597+
"line": 142
590598
}
591599
},
592600
"cos_bucket_names": {
593601
"name": "cos_bucket_names",
594602
"description": "List of names for COS buckets created",
595603
"pos": {
596604
"filename": "outputs.tf",
597-
"line": 119
605+
"line": 134
598606
}
599607
},
600608
"cos_data": {
601609
"name": "cos_data",
602610
"description": "List of Cloud Object Storage instance data",
603611
"pos": {
604612
"filename": "outputs.tf",
605-
"line": 97
613+
"line": 112
606614
}
607615
},
608616
"cos_key_names": {
609617
"name": "cos_key_names",
610618
"description": "List of names for created COS keys",
611619
"pos": {
612620
"filename": "outputs.tf",
613-
"line": 111
621+
"line": 126
614622
}
615623
},
616624
"cos_names": {
617625
"name": "cos_names",
618626
"description": "List of Cloud Object Storage instance names",
619627
"pos": {
620628
"filename": "outputs.tf",
621-
"line": 83
629+
"line": 98
622630
}
623631
},
624632
"f5_hosts": {
625633
"name": "f5_hosts",
626634
"description": "List of bastion host names",
627635
"pos": {
628636
"filename": "outputs.tf",
629-
"line": 141
637+
"line": 156
630638
}
631639
},
632640
"fip_vsi_data": {
633641
"name": "fip_vsi_data",
634642
"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.",
635643
"pos": {
636644
"filename": "outputs.tf",
637-
"line": 318
645+
"line": 358
638646
}
639647
},
640648
"key_management_crn": {
@@ -643,7 +651,7 @@
643651
"value": "module.key_management.key_management_crn",
644652
"pos": {
645653
"filename": "outputs.tf",
646-
"line": 407
654+
"line": 447
647655
}
648656
},
649657
"key_management_guid": {
@@ -652,7 +660,7 @@
652660
"value": "module.key_management.key_management_guid",
653661
"pos": {
654662
"filename": "outputs.tf",
655-
"line": 412
663+
"line": 452
656664
}
657665
},
658666
"key_management_name": {
@@ -661,7 +669,7 @@
661669
"value": "module.key_management.key_management_name",
662670
"pos": {
663671
"filename": "outputs.tf",
664-
"line": 402
672+
"line": 442
665673
}
666674
},
667675
"key_map": {
@@ -670,7 +678,7 @@
670678
"value": "module.key_management.key_map",
671679
"pos": {
672680
"filename": "outputs.tf",
673-
"line": 422
681+
"line": 462
674682
}
675683
},
676684
"key_rings": {
@@ -679,7 +687,7 @@
679687
"value": "module.key_management.key_rings",
680688
"pos": {
681689
"filename": "outputs.tf",
682-
"line": 417
690+
"line": 457
683691
}
684692
},
685693
"placement_groups": {
@@ -688,7 +696,7 @@
688696
"value": "resource.ibm_is_placement_group.placement_group",
689697
"pos": {
690698
"filename": "outputs.tf",
691-
"line": 195
699+
"line": 235
692700
}
693701
},
694702
"resource_group_data": {
@@ -697,167 +705,175 @@
697705
"value": "local.resource_groups",
698706
"pos": {
699707
"filename": "outputs.tf",
700-
"line": 211
708+
"line": 251
701709
}
702710
},
703711
"resource_group_names": {
704712
"name": "resource_group_names",
705713
"description": "List of resource groups names used within landing zone.",
706714
"pos": {
707715
"filename": "outputs.tf",
708-
"line": 206
716+
"line": 246
709717
}
710718
},
711719
"secrets_manager_data": {
712720
"name": "secrets_manager_data",
713721
"description": "Secrets manager instance",
714722
"pos": {
715723
"filename": "outputs.tf",
716-
"line": 222
724+
"line": 262
717725
}
718726
},
719727
"security_group_data": {
720728
"name": "security_group_data",
721729
"description": "List of security group data",
722730
"pos": {
723731
"filename": "outputs.tf",
724-
"line": 242
732+
"line": 282
725733
}
726734
},
727735
"security_group_names": {
728736
"name": "security_group_names",
729737
"description": "List of security group names",
730738
"pos": {
731739
"filename": "outputs.tf",
732-
"line": 233
740+
"line": 273
733741
}
734742
},
735743
"service_authorization_data": {
736744
"name": "service_authorization_data",
737745
"description": "List of service authorization data",
738746
"pos": {
739747
"filename": "outputs.tf",
740-
"line": 261
748+
"line": 301
741749
}
742750
},
743751
"service_authorization_names": {
744752
"name": "service_authorization_names",
745753
"description": "List of service authorization names",
746754
"pos": {
747755
"filename": "outputs.tf",
748-
"line": 256
756+
"line": 296
749757
}
750758
},
751759
"ssh_key_data": {
752760
"name": "ssh_key_data",
753761
"description": "List of SSH key data",
754762
"pos": {
755763
"filename": "outputs.tf",
756-
"line": 280
764+
"line": 320
757765
}
758766
},
759767
"ssh_key_names": {
760768
"name": "ssh_key_names",
761769
"description": "List of SSH key names",
762770
"pos": {
763771
"filename": "outputs.tf",
764-
"line": 275
772+
"line": 315
765773
}
766774
},
767775
"subnet_data": {
768776
"name": "subnet_data",
769777
"description": "List of Subnet data created",
770778
"pos": {
771779
"filename": "outputs.tf",
772-
"line": 179
780+
"line": 194
773781
}
774782
},
775783
"subnet_names": {
776784
"name": "subnet_names",
777785
"description": "List of Subnet names created",
778786
"pos": {
779787
"filename": "outputs.tf",
780-
"line": 171
788+
"line": 186
781789
}
782790
},
783791
"transit_gateway_data": {
784792
"name": "transit_gateway_data",
785793
"description": "Created transit gateway data",
786794
"pos": {
787795
"filename": "outputs.tf",
788-
"line": 299
796+
"line": 339
789797
}
790798
},
791799
"transit_gateway_name": {
792800
"name": "transit_gateway_name",
793801
"description": "Name of created transit gateway",
794802
"pos": {
795803
"filename": "outputs.tf",
796-
"line": 294
804+
"line": 334
797805
}
798806
},
799807
"vpc_data": {
800808
"name": "vpc_data",
801809
"description": "List of VPC data",
802810
"pos": {
803811
"filename": "outputs.tf",
804-
"line": 163
812+
"line": 178
805813
}
806814
},
807815
"vpc_names": {
808816
"name": "vpc_names",
809817
"description": "List of VPC names",
810818
"pos": {
811819
"filename": "outputs.tf",
812-
"line": 155
820+
"line": 170
821+
}
822+
},
823+
"vpc_resource_list": {
824+
"name": "vpc_resource_list",
825+
"description": "List of VPC with VSI and Cluster deployed on the VPC.",
826+
"pos": {
827+
"filename": "outputs.tf",
828+
"line": 204
813829
}
814830
},
815831
"vpe_gateway_data": {
816832
"name": "vpe_gateway_data",
817833
"description": "List of VPE gateways data",
818834
"pos": {
819835
"filename": "outputs.tf",
820-
"line": 368
836+
"line": 408
821837
}
822838
},
823839
"vpe_gateway_names": {
824840
"name": "vpe_gateway_names",
825841
"description": "VPE gateway names",
826842
"pos": {
827843
"filename": "outputs.tf",
828-
"line": 360
844+
"line": 400
829845
}
830846
},
831847
"vpn_data": {
832848
"name": "vpn_data",
833849
"description": "List of VPN data",
834850
"pos": {
835851
"filename": "outputs.tf",
836-
"line": 390
852+
"line": 430
837853
}
838854
},
839855
"vpn_names": {
840856
"name": "vpn_names",
841857
"description": "List of VPN names",
842858
"pos": {
843859
"filename": "outputs.tf",
844-
"line": 382
860+
"line": 422
845861
}
846862
},
847863
"vsi_data": {
848864
"name": "vsi_data",
849865
"description": "A list of VSI with name, id, zone, and primary ipv4 address, VPC Name, and floating IP.",
850866
"pos": {
851867
"filename": "outputs.tf",
852-
"line": 336
868+
"line": 376
853869
}
854870
},
855871
"vsi_names": {
856872
"name": "vsi_names",
857873
"description": "List of VSI names",
858874
"pos": {
859875
"filename": "outputs.tf",
860-
"line": 310
876+
"line": 350
861877
}
862878
}
863879
},
@@ -2631,7 +2647,7 @@
26312647
"vpc": {
26322648
"name": "vpc",
26332649
"source": "terraform-ibm-modules/landing-zone-vpc/ibm",
2634-
"version": "7.5.0",
2650+
"version": "7.7.0",
26352651
"attributes": {
26362652
"network_cidrs": "network_cidr",
26372653
"prefix": "prefix",
@@ -2913,6 +2929,15 @@
29132929
"type": "TypeString",
29142930
"cloud_data_type": "crn"
29152931
},
2932+
"vpc_data": {
2933+
"name": "vpc_data",
2934+
"description": "Data of the VPC created.",
2935+
"value": "ibm_is_vpc.vpc",
2936+
"pos": {
2937+
"filename": ".terraform/modules/vpc/outputs.tf",
2938+
"line": 145
2939+
}
2940+
},
29162941
"vpc_flow_logs": {
29172942
"name": "vpc_flow_logs",
29182943
"description": "Details of VPC flow logs collector",

0 commit comments

Comments
 (0)