Skip to content

Commit d393b85

Browse files
authored
fix: updated the DA catalog config to use the "Default" resource group and default to "null" in varaibles.tf (#704)
1 parent c00581f commit d393b85

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

ibm_catalog.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,17 @@
5656
},
5757
{
5858
"key": "existing_resource_group_name",
59-
"required": true
59+
"display_name": "resource_group",
60+
"default_value": "Default",
61+
"description": "The name of an existing resource group to provision the resources.",
62+
"custom_config": {
63+
"type": "resource_group",
64+
"grouping": "deployment",
65+
"original_grouping": "deployment",
66+
"config_constraints": {
67+
"identifier": "rg_name"
68+
}
69+
}
6070
},
6171
{
6272
"key": "prefix",

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ variable "ibmcloud_api_key" {
77
variable "existing_resource_group_name" {
88
type = string
99
description = "The name of an existing resource group to provision the resources. If not provided the default resource group will be used."
10+
default = null
1011
}
1112

1213
variable "region" {

0 commit comments

Comments
 (0)