Skip to content

Commit 5ce10e3

Browse files
authored
fix: enable missing HCL editor widget and update variable description (#810)
1 parent 63f92cb commit 5ce10e3

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

ibm_catalog.json

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,12 @@
653653
"hidden": true
654654
},
655655
{
656-
"key": "default_worker_pool_labels"
656+
"key": "default_worker_pool_labels",
657+
"custom_config": {
658+
"type": "code_editor",
659+
"grouping": "deployment",
660+
"original_grouping": "deployment"
661+
}
657662
},
658663
{
659664
"key": "enable_autoscaling_for_default_pool",
@@ -666,7 +671,15 @@
666671
"key": "default_pool_maximum_number_of_nodes"
667672
},
668673
{
669-
"key": "additional_security_group_ids"
674+
"key": "additional_security_group_ids",
675+
"custom_config": {
676+
"type": "array",
677+
"grouping": "deployment",
678+
"original_grouping": "deployment",
679+
"config_constraints": {
680+
"type": "string"
681+
}
682+
}
670683
},
671684
{
672685
"key": "existing_subnet_ids",
@@ -713,21 +726,35 @@
713726
"hidden": true
714727
},
715728
{
716-
"key": "custom_security_group_ids"
729+
"key": "custom_security_group_ids",
730+
"custom_config": {
731+
"type": "array",
732+
"grouping": "deployment",
733+
"original_grouping": "deployment",
734+
"config_constraints": {
735+
"type": "string"
736+
}
737+
}
717738
},
718739
{
719740
"key": "attach_ibm_managed_security_group",
720741
"hidden": true
721742
},
722743
{
723-
"key": "additional_lb_security_group_ids"
744+
"key": "additional_lb_security_group_ids",
745+
"description": "A list of additional security group IDs to be attached to the load balancers associated with the cluster. These groups are applied in addition to the default IBM-managed security group."
724746
},
725747
{
726748
"key": "number_of_lbs",
727749
"hidden": true
728750
},
729751
{
730-
"key": "additional_vpe_security_group_ids"
752+
"key": "additional_vpe_security_group_ids",
753+
"custom_config": {
754+
"type": "code_editor",
755+
"grouping": "deployment",
756+
"original_grouping": "deployment"
757+
}
731758
},
732759
{
733760
"key": "ibmcloud_kms_api_key"

solutions/fully-configurable/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,14 +316,14 @@ variable "attach_ibm_managed_security_group" {
316316
}
317317

318318
variable "additional_lb_security_group_ids" {
319-
description = "Additional security groups to add to the load balancers associated with the cluster. Ensure that the `number_of_lbs` is set to the number of LBs associated with the cluster. This comes in addition to the IBM maintained security group."
319+
description = "List of additional security group IDs to add to the load balancers associated with the cluster. Ensure that the `number_of_lbs` variable is set to the number of Load Balancers associated with the cluster. This comes in addition to the IBM maintained security group."
320320
type = list(string)
321321
default = []
322322
nullable = false
323323
}
324324

325325
variable "number_of_lbs" {
326-
description = "The number of LBs to associated the `additional_lb_security_group_names` security group with."
326+
description = "The total number of Load Balancers in the cluster that should be associated with the security groups defined in `additional_lb_security_group_ids` variable."
327327
type = number
328328
default = 1
329329
nullable = false

0 commit comments

Comments
 (0)