From 0872959d78371490c7bff0e447c5330dfab59bdf Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Thu, 27 Nov 2025 01:59:22 +0530 Subject: [PATCH 1/7] feat: binary choices --- ibm_catalog.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ibm_catalog.json b/ibm_catalog.json index 9f0ddb48..64c72c1e 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -467,24 +467,30 @@ }, { "key": "cos_bucket_class", + "type_metadata": "string", "options": [ { + "description": "Active data accessed frequently.", "displayname": "Standard", "value": "standard" }, { + "description": "Less active data accessed once a month.", "displayname": "Vault", "value": "vault" }, { + "description": "Cold data accessed a few times yearly.", "displayname": "Cold", "value": "cold" }, { + "description": "Automatic cost optimization for data of any activity or access.", "displayname": "Smart", "value": "smart" }, { + "description": "Single all-inclusive price for storage, API operations, and bandwidth. Ideal for active workloads with large usage.", "displayname": "OneRate Active", "value": "onerate_active" } @@ -498,12 +504,15 @@ }, { "key": "flow_logs_cos_bucket_archive_type", + "type_metadata": "string", "options": [ { + "description": "Lower-cost archive storage. Data retrieval takes hours.", "displayname": "Glacier", "value": "Glacier" }, { + "description": "Higher-cost archive with faster retrieval.", "displayname": "Accelerated", "value": "Accelerated" } From 4995d817544a6705e748f56eabd1b25b79c31912 Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Thu, 27 Nov 2025 02:05:05 +0530 Subject: [PATCH 2/7] minor fixes --- dynamic_values/config_modules/list_to_map/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic_values/config_modules/list_to_map/variables.tf b/dynamic_values/config_modules/list_to_map/variables.tf index 5df463ec..6a077ed9 100644 --- a/dynamic_values/config_modules/list_to_map/variables.tf +++ b/dynamic_values/config_modules/list_to_map/variables.tf @@ -26,7 +26,7 @@ variable "lookup_field" { } variable "lookup_value_regex" { - description = "regular expression for reurned value" + description = "Regular expression for returned value" type = string default = null } From 5360f6ff81102dfa063e82f6f871a1d68f366fd4 Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Thu, 27 Nov 2025 20:17:23 +0530 Subject: [PATCH 3/7] added for enable flow logs --- ibm_catalog.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ibm_catalog.json b/ibm_catalog.json index 64c72c1e..3eed08cc 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -378,7 +378,21 @@ } }, { - "key": "enable_vpc_flow_logs" + "key": "enable_vpc_flow_logs", + "type": "boolean", + "type_metadata": "boolean", + "options": [ + { + "description": "Do not collect VPC network traffic metadata.", + "displayname": "Disabled", + "value": false + }, + { + "description": "Collect and store IP traffic metadata from VPC network interfaces to Cloud Object Storage for monitoring, security analysis, and troubleshooting.", + "displayname": "Enabled", + "value": true + } + ] }, { "key": "existing_cos_instance_crn", From 1c5a900ebbb13905790c71704274440075872a8a Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Mon, 1 Dec 2025 20:58:37 +0530 Subject: [PATCH 4/7] addressed review comments --- ibm_catalog.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ibm_catalog.json b/ibm_catalog.json index 3eed08cc..c9f8cf14 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -223,7 +223,6 @@ "key": "enable_platform_metrics", "type": "boolean", "default_value": false, - "description": "When set to `true`, the IBM Cloud Monitoring instance will be configured to collect platform metrics from the provided region. You can configure 1 instance only of the IBM Cloud Monitoring service per region to collect platform metrics in that location. Check with the account or service administrator if another monitoring instance has already been configured. You may not have permissions to see all monitoring instances in the region. [Learn more](https://cloud.ibm.com/docs/monitoring?topic=monitoring-platform_metrics_enabling).", "required": true, "virtual": true, "options": [ @@ -384,12 +383,12 @@ "options": [ { "description": "Do not collect VPC network traffic metadata.", - "displayname": "Disabled", + "displayname": "False", "value": false }, { "description": "Collect and store IP traffic metadata from VPC network interfaces to Cloud Object Storage for monitoring, security analysis, and troubleshooting.", - "displayname": "Enabled", + "displayname": "True", "value": true } ] @@ -464,16 +463,20 @@ }, { "key": "management_endpoint_type_for_bucket", + "type_metadata": "string", "options": [ { + "description": "Access bucket management over the public internet.", "displayname": "Public", "value": "public" }, { + "description": "Access bucket management through IBM Cloud private network. Requires virtual routing and forwarding (VRF) enabled in your account and Terraform runtime must have access to IBM Cloud Private network.", "displayname": "Private", "value": "private" }, { + "description": "Access bucket management requests originating from resources within VPCs. Direct endpoints can be accessed through Virtual Private Endpoint gateways.", "displayname": "Direct", "value": "direct" } From 31b310ae7bd593beff4824e62e03cc8fd27778a2 Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Mon, 1 Dec 2025 21:07:23 +0530 Subject: [PATCH 5/7] addressed review comments --- ibm_catalog.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ibm_catalog.json b/ibm_catalog.json index c9f8cf14..878fae01 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -466,12 +466,12 @@ "type_metadata": "string", "options": [ { - "description": "Access bucket management over the public internet.", + "description": "Access bucket management requests over the public internet.", "displayname": "Public", "value": "public" }, { - "description": "Access bucket management through IBM Cloud private network. Requires virtual routing and forwarding (VRF) enabled in your account and Terraform runtime must have access to IBM Cloud Private network.", + "description": "Access bucket management requests through IBM Cloud private network. Requires virtual routing and forwarding (VRF) enabled in your account and Terraform runtime must have access to IBM Cloud Private network.", "displayname": "Private", "value": "private" }, From deb1c50aa2d82ab5e8acfa7b59eb0bd2d31de226 Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Mon, 1 Dec 2025 22:20:36 +0530 Subject: [PATCH 6/7] addressed review comments --- ibm_catalog.json | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ibm_catalog.json b/ibm_catalog.json index 0b05f8e3..69f0bb56 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -460,21 +460,18 @@ }, { "key": "management_endpoint_type_for_bucket", - "type_metadata": "string", + "hidden": true, "options": [ { - "description": "Access bucket management requests over the public internet.", - "displayname": "Public", + "displayname": "public", "value": "public" }, { - "description": "Access bucket management requests through IBM Cloud private network. Requires virtual routing and forwarding (VRF) enabled in your account and Terraform runtime must have access to IBM Cloud Private network.", - "displayname": "Private", + "displayname": "private", "value": "private" }, { - "description": "Access bucket management requests originating from resources within VPCs. Direct endpoints can be accessed through Virtual Private Endpoint gateways.", - "displayname": "Direct", + "displayname": "direct", "value": "direct" } ] From 556885d51e791498a20ba995d1e309e826372f2b Mon Sep 17 00:00:00 2001 From: Akash Kumar Date: Thu, 4 Dec 2025 18:56:03 +0530 Subject: [PATCH 7/7] added back desc --- ibm_catalog.json | 1 + 1 file changed, 1 insertion(+) diff --git a/ibm_catalog.json b/ibm_catalog.json index 69f0bb56..0fb25053 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -220,6 +220,7 @@ "key": "enable_platform_metrics", "type": "boolean", "default_value": false, + "description": "When set to `true`, the IBM Cloud Monitoring instance will be configured to collect platform metrics from the provided region. You can configure 1 instance only of the IBM Cloud Monitoring service per region to collect platform metrics in that location. Check with the account or service administrator if another monitoring instance has already been configured. You may not have permissions to see all monitoring instances in the region. [Learn more](https://cloud.ibm.com/docs/monitoring?topic=monitoring-platform_metrics_enabling).", "required": true, "virtual": true, "options": [