Skip to content

Commit 7cee5e4

Browse files
authored
fix: The default value of existing_resource_group_name is now null, which means it will default to the default resource group in your account. Previously it was defaulting to "Default" which may not exist in every account. (#445)
1 parent bce6d4f commit 7cee5e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

solutions/instances/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ locals {
166166

167167
module "resource_group" {
168168
source = "terraform-ibm-modules/resource-group/ibm"
169-
version = "1.2.1"
169+
version = "1.3.0"
170170
resource_group_name = var.use_existing_resource_group == false ? (try("${local.prefix}-${var.resource_group_name}", var.resource_group_name)) : null
171171
existing_resource_group_name = var.use_existing_resource_group == true ? var.resource_group_name : null
172172
}

solutions/instances/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ variable "use_existing_resource_group" {
3030

3131
variable "resource_group_name" {
3232
type = string
33-
description = "The name of the resource group to provision resources in."
34-
default = "Default"
33+
description = "The name of an existing resource group to provision the resources. If not provided the default resource group will be used."
34+
default = null
3535
}
3636

3737
variable "cos_resource_group_name" {

0 commit comments

Comments
 (0)