Skip to content

Commit 9b544e0

Browse files
fix: update 'required' fields to true for various IBM Cloud Monitoring and Logging parameters in ibm_catalog.json; add custom configuration for enhanced deployment options
1 parent 78a6008 commit 9b544e0

File tree

1 file changed

+39
-10
lines changed

1 file changed

+39
-10
lines changed

ibm_catalog.json

Lines changed: 39 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
"key": "cloud_monitoring_access_key",
526526
"type": "password",
527527
"description": "The access key that is used by the IBM Cloud Monitoring agent to communicate with the instance.",
528-
"required": false
528+
"required": true
529529
},
530530
{
531531
"key": "cloud_monitoring_add_cluster_name",
@@ -579,9 +579,18 @@
579579
{
580580
"key": "cloud_monitoring_instance_region",
581581
"type": "string",
582-
"default_value": "__NULL__",
583582
"description": "The name of the region where the IBM Cloud Monitoring instance is created. This name is used to construct the ingestion endpoint.",
584-
"required": false
583+
"required": true,
584+
"custom_config": {
585+
"type": "region",
586+
"grouping": "deployment",
587+
"original_grouping": "deployment",
588+
"config_constraints": {
589+
"showKinds": [
590+
"region"
591+
]
592+
}
593+
}
585594
},
586595
{
587596
"key": "cloud_monitoring_metrics_filter",
@@ -607,16 +616,27 @@
607616
{
608617
"key": "cluster_id",
609618
"type": "string",
610-
"default_value": "__NOT_SET__",
611619
"description": "The ID of the cluster to deploy the agents in.",
612-
"required": true
620+
"required": true,
621+
"custom_config": {
622+
"type": "cluster_var",
623+
"grouping": "deployment",
624+
"original_grouping": "deployment"
625+
}
613626
},
614627
{
615628
"key": "cluster_resource_group_id",
616629
"type": "string",
617-
"default_value": "__NOT_SET__",
618630
"description": "The resource group ID of the cluster.",
619-
"required": true
631+
"required": true,
632+
"custom_config": {
633+
"type": "resource_group",
634+
"grouping": "deployment",
635+
"original_grouping": "deployment",
636+
"config_constraints": {
637+
"identifier": "rg_id"
638+
}
639+
}
620640
},
621641
{
622642
"key": "ibmcloud_api_key",
@@ -691,14 +711,23 @@
691711
"key": "log_analysis_ingestion_key",
692712
"type": "password",
693713
"description": "The ingestion key that is used by the IBM Cloud logging agent to communicate with the instance.",
694-
"required": false
714+
"required": true
695715
},
696716
{
697717
"key": "log_analysis_instance_region",
698718
"type": "string",
699-
"default_value": "__NULL__",
700719
"description": "The name of the region where the IBM Log Analysis instance is created. The value is used in the ingestion endpoint in the format `api.<var-value>.logging.cloud.ibm.com`.",
701-
"required": false
720+
"required": true,
721+
"custom_config": {
722+
"type": "region",
723+
"grouping": "deployment",
724+
"original_grouping": "deployment",
725+
"config_constraints": {
726+
"showKinds": [
727+
"region"
728+
]
729+
}
730+
}
702731
},
703732
{
704733
"key": "log_analysis_secret_name",

0 commit comments

Comments
 (0)