You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: DA updates:<br>- add default value for prefix using random string generator<br>- Updated the default value of existing_resource_group_name to be "Default" (#751)
Copy file name to clipboardExpand all lines: ibm_catalog.json
+28-8Lines changed: 28 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -133,12 +133,22 @@
133
133
"config_constraints": {
134
134
"identifier": "rg_name"
135
135
}
136
-
},
137
-
"default_value": "Default",
138
-
"description": "The name of an existing resource group to provision the resources."
136
+
}
139
137
},
140
138
{
141
-
"key": "prefix"
139
+
"key": "prefix",
140
+
"required": true,
141
+
"default_value": "dev",
142
+
"random_string": {
143
+
"length": 4
144
+
},
145
+
"value_constraints": [
146
+
{
147
+
"type": "regex",
148
+
"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.",
"description": "The name of an existing resource group to provision the resources."
495
+
}
488
496
},
489
497
{
490
-
"key": "prefix"
498
+
"key": "prefix",
499
+
"required": true,
500
+
"default_value": "dev",
501
+
"random_string": {
502
+
"length": 4
503
+
},
504
+
"value_constraints": [
505
+
{
506
+
"type": "regex",
507
+
"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.",
Copy file name to clipboardExpand all lines: solutions/fully-configurable/variables.tf
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,14 @@ variable "ibmcloud_api_key" {
10
10
11
11
variable"existing_resource_group_name" {
12
12
type=string
13
-
description="The name of an existing resource group to provision the resources. If not provided the default resource group will be used."
14
-
default=null
13
+
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."
14
+
default="Default"
15
15
}
16
16
17
17
variable"prefix" {
18
18
type=string
19
19
nullable=true
20
-
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-0205-cos. [Learn more](https://terraform-ibm-modules.github.io/documentation/#/prefix.md)."
20
+
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)."
Copy file name to clipboardExpand all lines: solutions/security-enforced/variables.tf
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,14 @@ variable "ibmcloud_api_key" {
10
10
11
11
variable"existing_resource_group_name" {
12
12
type=string
13
-
description="The name of an existing resource group to provision the resources. If not provided the default resource group will be used."
14
-
default=null
13
+
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."
14
+
default="Default"
15
15
}
16
16
17
17
variable"prefix" {
18
18
type=string
19
19
nullable=true
20
-
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-0205-cos. [Learn more](https://terraform-ibm-modules.github.io/documentation/#/prefix.md)."
20
+
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)."
0 commit comments