|  | 
| 108 | 108 |             }, | 
| 109 | 109 |             { | 
| 110 | 110 |               "key": "prefix", | 
| 111 |  | -              "required": true | 
| 112 |  | -            }, | 
| 113 |  | -            { | 
| 114 |  | -              "key": "existing_resource_group_name", | 
| 115 |  | -              "type": "string", | 
| 116 |  | -              "description": "The name of an existing resource group to provision the resources. If not provided the default resource group will be used.", | 
| 117 |  | -              "virtual": true, | 
| 118 |  | -              "default_value": "__NULL__" | 
|  | 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 | +              ] | 
| 119 | 119 |             }, | 
| 120 | 120 |             { | 
| 121 | 121 |               "key": "region", | 
|  | 
| 160 | 160 |               ] | 
| 161 | 161 |             }, | 
| 162 | 162 |             { | 
| 163 |  | -              "key": "existing_cloud_logs_instance_crn" | 
|  | 163 | +              "key": "existing_cloud_logs_instance_crn", | 
|  | 164 | +              "value_constraints": [ | 
|  | 165 | +                { | 
|  | 166 | +                  "type": "regex", | 
|  | 167 | +                  "description": "The value provided for 'existing_cloud_logs_instance_crn' is not valid.", | 
|  | 168 | +                  "value": "^__NULL__$|^crn:(.*:){3}logs:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 169 | +                } | 
|  | 170 | +              ] | 
| 164 | 171 |             }, | 
| 165 | 172 |             { | 
| 166 | 173 |               "key": "enable_activity_tracker_event_routing_to_cloud_logs" | 
|  | 
| 172 | 179 |               "key": "activity_tracker_cloud_logs_route_name" | 
| 173 | 180 |             }, | 
| 174 | 181 |             { | 
| 175 |  | -              "key": "existing_cos_instance_crn" | 
|  | 182 | +              "key": "existing_cos_instance_crn", | 
|  | 183 | +              "value_constraints": [ | 
|  | 184 | +                { | 
|  | 185 | +                  "type": "regex", | 
|  | 186 | +                  "description": "The value provided for 'existing_cos_instance_crn' is not valid.", | 
|  | 187 | +                  "value": "^__NULL__$|^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 188 | +                } | 
|  | 189 | +              ] | 
| 176 | 190 |             }, | 
| 177 | 191 |             { | 
| 178 | 192 |               "key": "ibmcloud_cos_api_key" | 
|  | 
| 260 | 274 |               "key": "kms_encryption_enabled_buckets" | 
| 261 | 275 |             }, | 
| 262 | 276 |             { | 
| 263 |  | -              "key": "existing_cos_kms_key_crn" | 
|  | 277 | +              "key": "existing_cos_kms_key_crn", | 
|  | 278 | +              "value_constraints": [ | 
|  | 279 | +                { | 
|  | 280 | +                  "type": "regex", | 
|  | 281 | +                  "description": "The value provided for 'existing_cos_kms_key_crn' is not valid.", | 
|  | 282 | +                  "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}$" | 
|  | 283 | +                } | 
|  | 284 | +              ] | 
| 264 | 285 |             }, | 
| 265 | 286 |             { | 
| 266 |  | -              "key": "existing_monitoring_crn" | 
|  | 287 | +              "key": "existing_monitoring_crn", | 
|  | 288 | +              "value_constraints": [ | 
|  | 289 | +                { | 
|  | 290 | +                  "type": "regex", | 
|  | 291 | +                  "description": "The value provided for 'existing_monitoring_crn' is not valid.", | 
|  | 292 | +                  "value": "^__NULL__$|^crn:(.*:){3}sysdig-monitor:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 293 | +                } | 
|  | 294 | +              ] | 
| 267 | 295 |             }, | 
| 268 | 296 |             { | 
| 269 |  | -              "key": "existing_kms_instance_crn" | 
|  | 297 | +              "key": "existing_kms_instance_crn", | 
|  | 298 | +              "value_constraints": [ | 
|  | 299 | +                { | 
|  | 300 | +                  "type": "regex", | 
|  | 301 | +                  "description": "The value provided for 'existing_kms_instance_crn' is not valid.", | 
|  | 302 | +                  "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 303 | +                } | 
|  | 304 | +              ] | 
| 270 | 305 |             }, | 
| 271 | 306 |             { | 
| 272 | 307 |               "key": "cos_key_name" | 
|  | 
| 323 | 358 |               "optional": true, | 
| 324 | 359 |               "on_by_default": true, | 
| 325 | 360 |               "input_mapping": [ | 
| 326 |  | -                { | 
| 327 |  | -                  "dependency_input": "existing_resource_group_name", | 
| 328 |  | -                  "version_input": "existing_resource_group_name", | 
| 329 |  | -                  "reference_version": true | 
| 330 |  | -                }, | 
| 331 | 361 |                 { | 
| 332 | 362 |                   "dependency_output": "cos_instance_crn", | 
| 333 | 363 |                   "version_input": "existing_cos_instance_crn" | 
|  | 
| 392 | 422 |                   "version_input": "prefix", | 
| 393 | 423 |                   "reference_version": true | 
| 394 | 424 |                 }, | 
| 395 |  | -                { | 
| 396 |  | -                  "dependency_input": "existing_resource_group_name", | 
| 397 |  | -                  "version_input": "existing_resource_group_name", | 
| 398 |  | -                  "reference_version": true | 
| 399 |  | -                }, | 
| 400 | 425 |                 { | 
| 401 | 426 |                   "dependency_output": "cloud_logs_crn", | 
| 402 | 427 |                   "version_input": "existing_cloud_logs_instance_crn" | 
|  | 
0 commit comments