diff --git a/ibm_catalog.json b/ibm_catalog.json index a28be15..fc39135 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -254,7 +254,14 @@ }, { "key": "instance_crn", - "required": true + "required": true, + "value_constraints": [ + { + "type": "regex", + "description": "The value provided for 'instance_crn' is not valid.", + "value": "^crn:(.*:){3}(sysdig-monitor|sysdig-secure):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" + } + ] }, { "key": "access_key", diff --git a/tests/go.mod b/tests/go.mod index 8278448..17aa49d 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -7,7 +7,7 @@ toolchain go1.25.3 require ( github.com/gruntwork-io/terratest v0.51.0 github.com/stretchr/testify v1.11.1 - github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.13 + github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.14 ) require ( diff --git a/tests/go.sum b/tests/go.sum index 768f442..b30b6e0 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -296,8 +296,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.13 h1:jINbZDyvKbtUimsqF4XMTb5l4QWiGNUazvRBQiGmCX8= -github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.13/go.mod h1:bKjJy3Hk26Vc++TmB5PDlTzDb312YemSkZdznAR51Wc= +github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.14 h1:glsxlvkJ3aEehvdWQi/g3sqDFA5XtJumwEieN+TfGzo= +github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.14/go.mod h1:o0c7STGyke4WOA45ddxNRMJu8JdPw07uICKMJQc1hNg= github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= github.com/tmccombs/hcl2json v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw= github.com/tmccombs/hcl2json v0.6.4/go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk=