Skip to content

Commit 459dcb2

Browse files
arya-girish-kArya Girish K
andauthored
fix: updated regex variable validation (#273)
Co-authored-by: Arya Girish K <[email protected]>
1 parent 88b786e commit 459dcb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ibm_catalog.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
{
263263
"type": "regex",
264264
"description": "The value provided for 'existing_kms_instance_crn' is not valid.",
265-
"value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
265+
"value": "^__NULL__$|^crn:v\\d:(.*:){2}(kms|hs-crypto):(.*:)([aos]\\/[\\w_\\-]+):[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
266266
}
267267
]
268268
},
@@ -319,7 +319,7 @@
319319
{
320320
"type": "regex",
321321
"description": "The value provided for 'existing_event_notifications_instance_crn' is not valid.",
322-
"value": "^__NULL__$|^crn:(.*:){3}event-notifications:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
322+
"value": "^__NULL__$|^crn:v\\d:(.*:){2}event-notifications:(.*:)([aos]\\/[\\w_\\-]+):[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
323323
}
324324
],
325325
"custom_config": {
@@ -344,7 +344,7 @@
344344
{
345345
"type": "regex",
346346
"description": "The value provided for 'existing_secrets_manager_crn' is not valid.",
347-
"value": "^__NULL__$|^crn:(.*:){3}secrets-manager:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
347+
"value": "^__NULL__$|^crn:v\\d:(.*:){2}secrets-manager:(.*:)([aos]\\/[\\w_\\-]+):[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
348348
}
349349
],
350350
"custom_config": {

0 commit comments

Comments
 (0)