From 6aea3d1e436476be68257939f5289fedbd6e1222 Mon Sep 17 00:00:00 2001 From: whoffler Date: Thu, 7 Aug 2025 07:32:23 +0100 Subject: [PATCH 1/2] chore: update existing_resource_group_name default to null --- solutions/fully-configurable/variables.tf | 7 +++---- solutions/security-enforced/variables.tf | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/solutions/fully-configurable/variables.tf b/solutions/fully-configurable/variables.tf index a9ffaccc..8a715461 100644 --- a/solutions/fully-configurable/variables.tf +++ b/solutions/fully-configurable/variables.tf @@ -10,10 +10,9 @@ variable "ibmcloud_api_key" { variable "existing_resource_group_name" { type = string - description = "The name of an existing resource group to provision resource in." - default = "Default" - nullable = false -} + description = "The name of an existing resource group to provision the resources. If not provided the default resource group will be used." + default = null + nullable = true variable "prefix" { type = string diff --git a/solutions/security-enforced/variables.tf b/solutions/security-enforced/variables.tf index f0c15b4f..c92a327c 100644 --- a/solutions/security-enforced/variables.tf +++ b/solutions/security-enforced/variables.tf @@ -10,10 +10,9 @@ variable "ibmcloud_api_key" { variable "existing_resource_group_name" { type = string - description = "The name of an existing resource group to provision resource in." - default = "Default" - nullable = false -} + description = "The name of an existing resource group to provision the resources. If not provided the default resource group will be used." + default = null + nullable = true variable "prefix" { type = string From 1cb59821b7c000d0a2f3d50199e07e4e076d7e98 Mon Sep 17 00:00:00 2001 From: whoffler Date: Thu, 7 Aug 2025 07:49:51 +0100 Subject: [PATCH 2/2] update --- solutions/fully-configurable/variables.tf | 2 +- solutions/security-enforced/variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/solutions/fully-configurable/variables.tf b/solutions/fully-configurable/variables.tf index 8a715461..acb32292 100644 --- a/solutions/fully-configurable/variables.tf +++ b/solutions/fully-configurable/variables.tf @@ -12,7 +12,7 @@ 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 - nullable = true +} variable "prefix" { type = string diff --git a/solutions/security-enforced/variables.tf b/solutions/security-enforced/variables.tf index c92a327c..8cf136bf 100644 --- a/solutions/security-enforced/variables.tf +++ b/solutions/security-enforced/variables.tf @@ -12,7 +12,7 @@ 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 - nullable = true +} variable "prefix" { type = string