|  | 
| 108 | 108 |             }, | 
| 109 | 109 |             { | 
| 110 | 110 |               "key": "prefix", | 
| 111 |  | -              "required": true | 
|  | 111 | +              "required": true, | 
|  | 112 | +              "value_constraints": [ | 
|  | 113 | +                { | 
|  | 114 | +                  "type": "regex", | 
|  | 115 | +                  "description": "Prefix must begin with a lowercase letter and may contain only lowercase letters, digits, and hyphens '-'. It must not end with a hyphen('-'), and cannot contain consecutive hyphens ('--'). It should not exceed 16 characters.", | 
|  | 116 | +                  "value": "^$|^__NULL__$|^[a-z](?!.*--)(?:[a-z0-9-]{0,14}[a-z0-9])?$" | 
|  | 117 | +                } | 
|  | 118 | +              ] | 
| 112 | 119 |             }, | 
| 113 | 120 |             { | 
| 114 | 121 |               "key": "existing_resource_group_name", | 
|  | 
| 160 | 167 |               ] | 
| 161 | 168 |             }, | 
| 162 | 169 |             { | 
| 163 |  | -              "key": "existing_cloud_logs_instance_crn" | 
|  | 170 | +              "key": "existing_cloud_logs_instance_crn", | 
|  | 171 | +              "value_constraints": [ | 
|  | 172 | +                { | 
|  | 173 | +                  "type": "regex", | 
|  | 174 | +                  "description": "The value provided for 'existing_cloud_logs_instance_crn' is not valid.", | 
|  | 175 | +                  "value": "^__NULL__$|^crn:(.*:){3}logs:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 176 | +                } | 
|  | 177 | +              ] | 
| 164 | 178 |             }, | 
| 165 | 179 |             { | 
| 166 | 180 |               "key": "enable_activity_tracker_event_routing_to_cloud_logs" | 
|  | 
| 172 | 186 |               "key": "activity_tracker_cloud_logs_route_name" | 
| 173 | 187 |             }, | 
| 174 | 188 |             { | 
| 175 |  | -              "key": "existing_cos_instance_crn" | 
|  | 189 | +              "key": "existing_cos_instance_crn", | 
|  | 190 | +              "value_constraints": [ | 
|  | 191 | +                { | 
|  | 192 | +                  "type": "regex", | 
|  | 193 | +                  "description": "The value provided for 'existing_cos_instance_crn' is not valid.", | 
|  | 194 | +                  "value": "^__NULL__$|^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 195 | +                } | 
|  | 196 | +              ] | 
| 176 | 197 |             }, | 
| 177 | 198 |             { | 
| 178 | 199 |               "key": "ibmcloud_cos_api_key" | 
|  | 
| 260 | 281 |               "key": "kms_encryption_enabled_buckets" | 
| 261 | 282 |             }, | 
| 262 | 283 |             { | 
| 263 |  | -              "key": "existing_cos_kms_key_crn" | 
|  | 284 | +              "key": "existing_cos_kms_key_crn", | 
|  | 285 | +              "value_constraints": [ | 
|  | 286 | +                { | 
|  | 287 | +                  "type": "regex", | 
|  | 288 | +                  "description": "The value provided for 'existing_cos_kms_key_crn' is not valid.", | 
|  | 289 | +                  "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}:key:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" | 
|  | 290 | +                } | 
|  | 291 | +              ] | 
| 264 | 292 |             }, | 
| 265 | 293 |             { | 
| 266 |  | -              "key": "existing_monitoring_crn" | 
|  | 294 | +              "key": "existing_monitoring_crn", | 
|  | 295 | +              "value_constraints": [ | 
|  | 296 | +                { | 
|  | 297 | +                  "type": "regex", | 
|  | 298 | +                  "description": "The value provided for 'existing_monitoring_crn' is not valid.", | 
|  | 299 | +                  "value": "^__NULL__$|^crn:(.*:){3}sysdig-monitor:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 300 | +                } | 
|  | 301 | +              ] | 
| 267 | 302 |             }, | 
| 268 | 303 |             { | 
| 269 |  | -              "key": "existing_kms_instance_crn" | 
|  | 304 | +              "key": "existing_kms_instance_crn", | 
|  | 305 | +              "value_constraints": [ | 
|  | 306 | +                { | 
|  | 307 | +                  "type": "regex", | 
|  | 308 | +                  "description": "The value provided for 'existing_kms_instance_crn' is not valid.", | 
|  | 309 | +                  "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 310 | +                } | 
|  | 311 | +              ] | 
| 270 | 312 |             }, | 
| 271 | 313 |             { | 
| 272 | 314 |               "key": "cos_key_name" | 
|  | 
0 commit comments