|
139 | 139 | }, |
140 | 140 | { |
141 | 141 | "key": "prefix", |
142 | | - "required": true |
| 142 | + "required": true, |
| 143 | + "default_value": "dev", |
| 144 | + "random_string": { |
| 145 | + "length": 4 |
| 146 | + }, |
| 147 | + "value_constraints": [ |
| 148 | + { |
| 149 | + "type": "regex", |
| 150 | + "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.", |
| 151 | + "value": "^$|^__NULL__$|^[a-z](?!.*--)(?:[a-z0-9-]{0,14}[a-z0-9])?$" |
| 152 | + } |
| 153 | + ] |
143 | 154 | }, |
144 | 155 | { |
145 | 156 | "key": "existing_resource_group_name", |
|
151 | 162 | "config_constraints": { |
152 | 163 | "identifier": "rg_name" |
153 | 164 | } |
154 | | - }, |
155 | | - "default_value": "Default", |
156 | | - "description": "The name of an existing resource group to provision the resources." |
| 165 | + } |
157 | 166 | }, |
158 | 167 | { |
159 | 168 | "key": "region", |
|
364 | 373 | "install_type": "fullstack", |
365 | 374 | "working_directory": "solutions/fully-configurable", |
366 | 375 | "iam_permissions": [ |
367 | | - { |
368 | | - "role_crns": [ |
369 | | - "crn:v1:bluemix:public:iam::::role:Administrator" |
370 | | - ], |
371 | | - "service_name": "All Account Management services", |
372 | | - "notes": "[Optional] Required to create new resource groups when enabling the Account Configuration integration." |
373 | | - }, |
374 | 376 | { |
375 | 377 | "role_crns": [ |
376 | 378 | "crn:v1:bluemix:public:iam::::role:Administrator" |
377 | 379 | ], |
378 | 380 | "service_name": "All Identity and Access enabled services", |
379 | | - "notes": "[Optional] Required to create new resource groups with account settings when enabling the Account Configuration integration." |
| 381 | + "notes": "[Optional] Required to to create trusted profile for App Configuration aggregator which is used for compliance scanning." |
380 | 382 | }, |
381 | 383 | { |
382 | 384 | "role_crns": [ |
|
522 | 524 | { |
523 | 525 | "key": "prefix", |
524 | 526 | "type": "string", |
525 | | - "default_value": "__NOT_SET__", |
526 | | - "description": "The prefix to be added to all resources created by this solution. To skip using a prefix, set this value to null or an empty string. The prefix must begin with a lowercase letter and may contain only lowercase letters, digits, and hyphens '-'. It should not exceed 16 characters, must not end with a hyphen('-'), and can not contain consecutive hyphens ('--'). Example: prod-0405-ocp. [Learn more](https://terraform-ibm-modules.github.io/documentation/#/prefix.md).", |
527 | | - "display_name": "prefix", |
| 527 | + "default_value": "dev", |
| 528 | + "random_string": { |
| 529 | + "length": 4 |
| 530 | + }, |
| 531 | + "description": "The prefix to add to all resources that this solution creates (e.g `prod`, `test`, `dev`). To skip using a prefix, set this value to null or an empty string. [Learn more](https://terraform-ibm-modules.github.io/documentation/#/prefix.md).", |
528 | 532 | "required": true, |
| 533 | + "virtual": true, |
| 534 | + "value_constraints": [ |
| 535 | + { |
| 536 | + "type": "regex", |
| 537 | + "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.", |
| 538 | + "value": "^$|^__NULL__$|^[a-z](?!.*--)(?:[a-z0-9-]{0,14}[a-z0-9])?$" |
| 539 | + } |
| 540 | + ] |
| 541 | + }, |
| 542 | + { |
| 543 | + "key": "existing_resource_group_name", |
| 544 | + "display_name": "resource_group", |
| 545 | + "custom_config": { |
| 546 | + "type": "resource_group", |
| 547 | + "grouping": "deployment", |
| 548 | + "original_grouping": "deployment", |
| 549 | + "config_constraints": { |
| 550 | + "identifier": "rg_name" |
| 551 | + } |
| 552 | + }, |
| 553 | + "default_value": "Default", |
| 554 | + "description": "The name of an existing resource group to provision the resources. [Learn more](https://cloud.ibm.com/docs/account?topic=account-rgs&interface=ui#create_rgs) about how to create a resource group.", |
529 | 555 | "virtual": true |
530 | 556 | }, |
531 | 557 | { |
|
787 | 813 | { |
788 | 814 | "key": "network_acls", |
789 | 815 | "type": "list(object)", |
790 | | - "default_value": "[\n {\n name = \"vpc-acl\"\n add_ibm_cloud_internal_rules = true\n add_vpc_connectivity_rules = true\n prepend_ibm_rules = true\n rules = [\n {\n name = \"allow-all-443-inbound\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n port_min = 443\n port_max = 443\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-80-inbound\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n port_min = 80\n port_max = 80\n source_port_min = 80\n source_port_max = 80\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-ingress-inbound\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n source_port_min = 30000\n source_port_max = 32767\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-443-outbound\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n source_port_min = 443\n source_port_max = 443\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-80-outbound\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n source_port_min = 80\n source_port_max = 80\n port_min = 80\n port_max = 80\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-ingress-outbound\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n port_min = 30000\n port_max = 32767\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n }\n ]\n }\n]", |
| 816 | + "default_value": "[\n { name = \"vpc-acl\"\n add_ibm_cloud_internal_rules = true\n add_vpc_connectivity_rules = true\n prepend_ibm_rules = true\n rules = [\n {\n name = \"allow-443-inbound-source\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n source_port_min = 443\n source_port_max = 443\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-443-inbound-dest\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n port_max = 443\n port_min = 443\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-80-inbound\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n source_port_min = 80\n source_port_max = 80\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-ingress-inbound\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n source_port_min = 30000\n source_port_max = 32767\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-443-outbound-source\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n source_port_min = 443\n source_port_max = 443\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-443-outbound-dest\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n port_min = 443\n port_max = 443\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-80-outbound\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n port_min = 80\n port_max = 80\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-ingress-outbound\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n port_min = 30000\n port_max = 32767\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n }\n ]\n }\n]", |
791 | 817 | "description": "The list of ACLs to create. Provide at least one rule for each ACL. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vpc/blob/main/solutions/fully-configurable/DA-types.md#network-acls-).", |
792 | 818 | "required": false, |
793 | 819 | "virtual": true, |
|
836 | 862 | "version_input": "region", |
837 | 863 | "reference_version": true |
838 | 864 | }, |
| 865 | + { |
| 866 | + "dependency_input": "existing_resource_group_name", |
| 867 | + "version_input": "existing_resource_group_name", |
| 868 | + "reference_version": true |
| 869 | + }, |
839 | 870 | { |
840 | 871 | "dependency_output": "resource_group_id", |
841 | 872 | "version_input": "cluster_resource_group_id" |
|
890 | 921 | "value": true |
891 | 922 | }, |
892 | 923 | { |
893 | | - "dependency_input": "allow_public_access_to_cluster", |
| 924 | + "dependency_input": "allow_public_access_to_cluster_management", |
894 | 925 | "value": true |
895 | 926 | }, |
896 | 927 | { |
|
914 | 945 | "reference_version": true |
915 | 946 | } |
916 | 947 | ], |
917 | | - "version": "v3.58.2" |
| 948 | + "version": "v3.66.0" |
918 | 949 | } |
919 | 950 | ], |
920 | 951 | "dependency_version_2": true, |
|
0 commit comments