Skip to content

Commit 5e6865e

Browse files
authored
feat: Updated existing instance related inputs to use a dropdown picker (#271)
1 parent a70db10 commit 5e6865e

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

ibm_catalog.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@
310310
},
311311
{
312312
"key": "existing_event_notifications_instance_crn",
313+
"display_name": "existing_event_notifications_instance",
313314
"type": "string",
314315
"default_value": "__NULL__",
315316
"description": "The CRN of existing event notification instance. If not supplied, a new instance is created.",
@@ -320,10 +321,21 @@
320321
"description": "The value provided for 'existing_event_notifications_instance_crn' is not valid.",
321322
"value": "^__NULL__$|^crn:(.*:){3}event-notifications:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
322323
}
323-
]
324+
],
325+
"custom_config": {
326+
"type": "platform_resource",
327+
"grouping": "deployment",
328+
"original_grouping": "deployment",
329+
"config_constraints": {
330+
"resourceType": "event-notifications",
331+
"selection": "single_select",
332+
"valueType": "crn"
333+
}
334+
}
324335
},
325336
{
326337
"key": "existing_secrets_manager_crn",
338+
"display_name": "existing_secrets_manager_instance",
327339
"type": "string",
328340
"default_value": "__NULL__",
329341
"description": "The CRN of an existing IBM Cloud Secrets Manager instance to use in this solution. If not set, a new Secrets Manager instance is provisioned.",
@@ -334,7 +346,17 @@
334346
"description": "The value provided for 'existing_secrets_manager_crn' is not valid.",
335347
"value": "^__NULL__$|^crn:(.*:){3}secrets-manager:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
336348
}
337-
]
349+
],
350+
"custom_config": {
351+
"type": "platform_resource",
352+
"grouping": "deployment",
353+
"original_grouping": "deployment",
354+
"config_constraints": {
355+
"resourceType": "secrets-manager",
356+
"selection": "single_select",
357+
"valueType": "crn"
358+
}
359+
}
338360
},
339361
{
340362
"key": "secrets_manager_service_plan",

0 commit comments

Comments
 (0)