|  | 
| 63 | 63 |             }, | 
| 64 | 64 |             { | 
| 65 | 65 |               "key": "prefix", | 
| 66 |  | -              "required": true | 
|  | 66 | +              "required": true, | 
|  | 67 | +              "value_constraints": [ | 
|  | 68 | +                { | 
|  | 69 | +                  "type": "regex", | 
|  | 70 | +                  "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.", | 
|  | 71 | +                  "value": "^$|^__NULL__$|^[a-z](?!.*--)(?:[a-z0-9-]{0,14}[a-z0-9])?$" | 
|  | 72 | +                } | 
|  | 73 | +              ] | 
| 67 | 74 |             }, | 
| 68 | 75 |             { | 
| 69 | 76 |               "key": "region", | 
|  | 
| 113 | 120 |             }, | 
| 114 | 121 |             { | 
| 115 | 122 |               "key": "existing_cos_instance_crn", | 
| 116 |  | -              "required": true | 
|  | 123 | +              "required": true, | 
|  | 124 | +              "value_constraints": [ | 
|  | 125 | +                { | 
|  | 126 | +                  "type": "regex", | 
|  | 127 | +                  "description": "The value provided for 'existing_cos_instance_crn' is not valid.", | 
|  | 128 | +                  "value": "^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 129 | +                } | 
|  | 130 | +              ] | 
| 117 | 131 |             }, | 
| 118 | 132 |             { | 
| 119 | 133 |               "key": "existing_resource_group_name", | 
|  | 
| 248 | 262 |               "key": "kms_encryption_enabled_buckets" | 
| 249 | 263 |             }, | 
| 250 | 264 |             { | 
| 251 |  | -              "key": "existing_kms_instance_crn" | 
|  | 265 | +              "key": "existing_kms_instance_crn", | 
|  | 266 | +              "value_constraints": [ | 
|  | 267 | +                { | 
|  | 268 | +                  "type": "regex", | 
|  | 269 | +                  "description": "The value provided for 'existing_kms_instance_crn' is not valid.", | 
|  | 270 | +                  "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 271 | +                } | 
|  | 272 | +              ] | 
| 252 | 273 |             }, | 
| 253 | 274 |             { | 
| 254 |  | -              "key": "existing_kms_key_crn" | 
|  | 275 | +              "key": "existing_kms_key_crn", | 
|  | 276 | +              "value_constraints": [ | 
|  | 277 | +                { | 
|  | 278 | +                  "type": "regex", | 
|  | 279 | +                  "description": "The value provided for 'existing_kms_key_crn' is not valid.", | 
|  | 280 | +                  "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}$" | 
|  | 281 | +                } | 
|  | 282 | +              ] | 
| 255 | 283 |             }, | 
| 256 | 284 |             { | 
| 257 | 285 |               "key": "kms_endpoint_type", | 
|  | 
| 298 | 326 |               } | 
| 299 | 327 |             }, | 
| 300 | 328 |             { | 
| 301 |  | -              "key": "existing_cloud_logs_crn" | 
|  | 329 | +              "key": "existing_cloud_logs_crn", | 
|  | 330 | +              "value_constraints": [ | 
|  | 331 | +                { | 
|  | 332 | +                  "type": "regex", | 
|  | 333 | +                  "description": "The value provided for 'existing_cloud_logs_crn' is not valid.", | 
|  | 334 | +                  "value": "^__NULL__$|^crn:(.*:){3}logs:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 335 | +                } | 
|  | 336 | +              ] | 
| 302 | 337 |             }, | 
| 303 | 338 |             { | 
| 304 |  | -              "key": "existing_monitoring_crn" | 
|  | 339 | +              "key": "existing_monitoring_crn", | 
|  | 340 | +              "value_constraints": [ | 
|  | 341 | +                { | 
|  | 342 | +                  "type": "regex", | 
|  | 343 | +                  "description": "The value provided for 'existing_monitoring_crn' is not valid.", | 
|  | 344 | +                  "value": "^__NULL__$|^crn:(.*:){3}sysdig-monitor:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 345 | +                } | 
|  | 346 | +              ] | 
| 305 | 347 |             }, | 
| 306 | 348 |             { | 
| 307 | 349 |               "key": "cloud_logs_cbr_rules", | 
|  | 
| 551 | 593 |             }, | 
| 552 | 594 |             { | 
| 553 | 595 |               "key": "prefix", | 
| 554 |  | -              "required": true | 
|  | 596 | +              "required": true, | 
|  | 597 | +              "value_constraints": [ | 
|  | 598 | +                { | 
|  | 599 | +                  "type": "regex", | 
|  | 600 | +                  "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.", | 
|  | 601 | +                  "value": "^$|^__NULL__$|^[a-z](?!.*--)(?:[a-z0-9-]{0,14}[a-z0-9])?$" | 
|  | 602 | +                } | 
|  | 603 | +              ] | 
| 555 | 604 |             }, | 
| 556 | 605 |             { | 
| 557 | 606 |               "key": "region", | 
|  | 
| 601 | 650 |             }, | 
| 602 | 651 |             { | 
| 603 | 652 |               "key": "existing_cos_instance_crn", | 
| 604 |  | -              "required": true | 
|  | 653 | +              "required": true, | 
|  | 654 | +              "value_constraints": [ | 
|  | 655 | +                { | 
|  | 656 | +                  "type": "regex", | 
|  | 657 | +                  "description": "The value provided for 'existing_cos_instance_crn' is not valid.", | 
|  | 658 | +                  "value": "^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 659 | +                } | 
|  | 660 | +              ] | 
| 605 | 661 |             }, | 
| 606 | 662 |             { | 
| 607 | 663 |               "key": "existing_kms_instance_crn", | 
| 608 |  | -              "required": true | 
|  | 664 | +              "required": true, | 
|  | 665 | +              "value_constraints": [ | 
|  | 666 | +                { | 
|  | 667 | +                  "type": "regex", | 
|  | 668 | +                  "description": "The value provided for 'existing_kms_instance_crn' is not valid.", | 
|  | 669 | +                  "value": "^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 670 | +                } | 
|  | 671 | +              ] | 
| 609 | 672 |             }, | 
| 610 | 673 |             { | 
| 611 | 674 |               "key": "existing_resource_group_name", | 
|  | 
| 712 | 775 |               "key": "skip_cos_kms_iam_auth_policy" | 
| 713 | 776 |             }, | 
| 714 | 777 |             { | 
| 715 |  | -              "key": "existing_kms_key_crn" | 
|  | 778 | +              "key": "existing_kms_key_crn", | 
|  | 779 | +              "value_constraints": [ | 
|  | 780 | +                { | 
|  | 781 | +                  "type": "regex", | 
|  | 782 | +                  "description": "The value provided for 'existing_kms_key_crn' is not valid.", | 
|  | 783 | +                  "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}$" | 
|  | 784 | +                } | 
|  | 785 | +              ] | 
| 716 | 786 |             }, | 
| 717 | 787 |             { | 
| 718 | 788 |               "key": "cloud_logs_cos_key_ring_name" | 
|  | 
| 745 | 815 |               } | 
| 746 | 816 |             }, | 
| 747 | 817 |             { | 
| 748 |  | -              "key": "existing_monitoring_crn" | 
|  | 818 | +              "key": "existing_monitoring_crn", | 
|  | 819 | +              "value_constraints": [ | 
|  | 820 | +                { | 
|  | 821 | +                  "type": "regex", | 
|  | 822 | +                  "description": "The value provided for 'existing_monitoring_crn' is not valid.", | 
|  | 823 | +                  "value": "^__NULL__$|^crn:(.*:){3}sysdig-monitor:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" | 
|  | 824 | +                } | 
|  | 825 | +              ] | 
| 749 | 826 |             }, | 
| 750 | 827 |             { | 
| 751 | 828 |               "key": "cloud_logs_cbr_rules", | 
|  | 
0 commit comments