Skip to content

Commit 4fa5ddd

Browse files
feat: update 'region' and 'resource_group' fields in ibm_catalog.json to use custom configurations for improved deployment options
1 parent 401a0fb commit 4fa5ddd

File tree

1 file changed

+41
-29
lines changed

1 file changed

+41
-29
lines changed

ibm_catalog.json

Lines changed: 41 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,12 @@
160160
"display_name": "Region",
161161
"required": true,
162162
"custom_config": {
163-
"type": "region",
164-
"grouping": "deployment",
165-
"original_grouping": "deployment",
166-
"config_constraints": {
167-
"showKinds": [
168-
"region"
169-
]
170-
}
163+
"type": "vpc_region",
164+
"grouping": "deployment",
165+
"original_grouping": "deployment",
166+
"config_constraints": {
167+
"generationType": "2"
168+
}
171169
}
172170
},
173171
{
@@ -519,7 +517,15 @@
519517
"type": "string",
520518
"default_value": "default",
521519
"description": "The name of a new or existing resource group to provision resources in.",
522-
"required": true
520+
"required": true,
521+
"custom_config": {
522+
"type": "resource_group",
523+
"grouping": "deployment",
524+
"original_grouping": "deployment",
525+
"config_constraints": {
526+
"identifier": "rg_name"
527+
}
528+
}
523529
},
524530
{
525531
"key": "use_existing_resource_group",
@@ -533,24 +539,14 @@
533539
"type": "string",
534540
"description": "The region where observability resources are created.",
535541
"required": true,
536-
"options": [
537-
{
538-
"displayname": "eu-de",
539-
"value": "eu-de"
540-
},
541-
{
542-
"displayname": "us-south",
543-
"value": "us-south"
544-
},
545-
{
546-
"displayname": "eu-gb",
547-
"value": "eu-gb"
548-
},
549-
{
550-
"displayname": "jp-tok",
551-
"value": "jp-tok"
552-
}
553-
]
542+
"custom_config": {
543+
"type": "vpc_region",
544+
"grouping": "deployment",
545+
"original_grouping": "deployment",
546+
"config_constraints": {
547+
"generationType": "2"
548+
}
549+
}
554550
},
555551
{
556552
"key": "cloud_logs_provision",
@@ -1058,14 +1054,30 @@
10581054
"type": "string",
10591055
"default_value": "__NULL__",
10601056
"description": "The Cloud Object Storage region. If no value is provided, the value that is specified in the `region` input variable is used.",
1061-
"required": false
1057+
"required": false,
1058+
"custom_config": {
1059+
"type": "vpc_region",
1060+
"grouping": "deployment",
1061+
"original_grouping": "deployment",
1062+
"config_constraints": {
1063+
"generationType": "2"
1064+
}
1065+
}
10621066
},
10631067
{
10641068
"key": "cos_resource_group_name",
10651069
"type": "string",
10661070
"default_value": "__NULL__",
10671071
"description": "The name of a new or existing resource group to provision COS instance in. If not specified, the 'resource_group_name' variable is used. Specify this if the COS instance is in an account that's different from the one associated Observability resources.",
1068-
"required": false
1072+
"required": false,
1073+
"custom_config": {
1074+
"type": "resource_group",
1075+
"grouping": "deployment",
1076+
"original_grouping": "deployment",
1077+
"config_constraints": {
1078+
"identifier": "rg_name"
1079+
}
1080+
}
10691081
},
10701082
{
10711083
"key": "enable_platform_metrics",

0 commit comments

Comments
 (0)