diff --git a/ibm_catalog.json b/ibm_catalog.json index 8d1c2c5..c744174 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -50,6 +50,10 @@ { "key": "prefix", "required": true, + "default_value": "dev", + "random_string": { + "length": 4 + }, "value_constraints": [ { "type": "regex", @@ -68,9 +72,7 @@ "config_constraints": { "identifier": "rg_name" } - }, - "default_value": "Default", - "description": "The name of an existing resource group to provision the resources." + } }, { "key": "region", diff --git a/solutions/fully-configurable/main.tf b/solutions/fully-configurable/main.tf index abf9192..b412692 100644 --- a/solutions/fully-configurable/main.tf +++ b/solutions/fully-configurable/main.tf @@ -4,7 +4,7 @@ module "resource_group" { source = "terraform-ibm-modules/resource-group/ibm" - version = "1.3.0" + version = "1.4.0" existing_resource_group_name = var.existing_resource_group_name } diff --git a/solutions/fully-configurable/variables.tf b/solutions/fully-configurable/variables.tf index bfebe1b..5ab511a 100644 --- a/solutions/fully-configurable/variables.tf +++ b/solutions/fully-configurable/variables.tf @@ -10,8 +10,8 @@ variable "ibmcloud_api_key" { variable "existing_resource_group_name" { type = string - description = "The name of an existing resource group to provision the resources. If not provided the default resource group will be used." - default = null + description = "The name of an existing resource group to provision the resources." + default = "Default" } variable "prefix" {