Skip to content

Commit a26e29b

Browse files
fix
1 parent a3c63c2 commit a26e29b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ibm_catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
{
113113
"type": "regex",
114114
"description": "The value provided for 'existing_cluster_crn' is not valid.",
115-
"value": "^crn:v\\d:(.*:){2}containers-kubernetes:(.*:)([aos]\\/[\\w_\\-]+):[0-9a-fA-F]{20}::$"
115+
"value": "^crn:v\\d:(.*:){2}containers-kubernetes:(.*:)([aos]\\/[\\w_\\-]+):[a-z0-9]{20}::$"
116116
}
117117
]
118118
},

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ variable "existing_cluster_crn" {
6060

6161
validation {
6262
condition = anytrue([
63-
can(regex("^crn:v\\d:(.*:){2}containers-kubernetes:(.*:)([aos]\\/[\\w_\\-]+):[0-9a-fA-F]{20}::$", var.existing_cluster_crn)),
63+
can(regex("^crn:v\\d:(.*:){2}containers-kubernetes:(.*:)([aos]\\/[\\w_\\-]+):[a-z0-9]{20}::$", var.existing_cluster_crn)),
6464
var.existing_cluster_crn == null,
6565
])
6666
error_message = "The value provided for 'existing_cluster_crn' is not valid."

0 commit comments

Comments
 (0)