Skip to content

Commit c74e9d2

Browse files
committed
update default variable values
1 parent 97dbf63 commit c74e9d2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

solutions/fully-configurable/variables.tf

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,17 +112,19 @@ variable "existing_event_notifications_instance_crn" {
112112
variable "key_management_service_encryption_enabled" {
113113
type = bool
114114
description = "Set to true to enable encryption on Event Notifications instance and Cloud Object Storage bucket."
115-
default = true
115+
default = false
116116
}
117117

118118
variable "existing_key_management_service_instance_crn" {
119119
type = string
120120
description = "The CRN of the KMS instance (Hyper Protect Crypto Services or Key Protect instance). If the KMS instance is in different account you must also provide a value for `ibmcloud_key_management_service_api_key`."
121+
default = null
121122
}
122123

123124
variable "key_management_service_endpoint_url" {
124125
type = string
125126
description = "The KMS endpoint URL to use when you configure KMS encryption. The Hyper Protect Crypto Services endpoint URL format is `https://api.private.<REGION>.hs-crypto.cloud.ibm.com:<port>` and the Key Protect endpoint URL format is `https://<REGION>.kms.cloud.ibm.com`. Not required if passing an existing instance using the `existing_event_notification_instance_crn` input."
127+
default = null
126128
}
127129

128130
variable "existing_key_management_service_root_key_crn" {
@@ -191,18 +193,20 @@ variable "ibmcloud_key_management_service_api_key" {
191193
variable "cloud_object_storage_integration_enabled" {
192194
type = bool
193195
description = "Set to true to enable Cloud Object Storage integration."
194-
default = true
196+
default = false
195197
}
196198

197199
variable "existing_cloud_object_storage_instance_crn" {
198200
type = string
199201
nullable = true
202+
default = null
200203
description = "The CRN of an IBM Cloud Object Storage instance. If not supplied, Cloud Object Storage will not be configured"
201204
}
202205

203206
variable "existing_cloud_object_storage_endpoint" {
204207
type = string
205208
description = "The endpoint URL for your bucket region. [Learn more](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-endpoints). Only required if using an existing bucket with the `existing_cloud_object_storage_bucket_name` variable."
209+
default = null
206210
}
207211

208212
variable "existing_cloud_object_storage_bucket_name" {
@@ -260,15 +264,13 @@ variable "cross_region_location" {
260264
variable "cloud_object_storage_bucket_region" {
261265
type = string
262266
description = "The COS bucket region. If you pass a value for this variable, you must set the value of `cross_region_location` to null. If `cross_region_location` and `cos_bucket_region` are both set to null, then `region` will be used."
263-
# default = null
264-
default = "us-south"
267+
default = null
265268
}
266269

267270
variable "management_endpoint_type_for_bucket" {
268271
description = "The type of endpoint for the IBM Terraform provider to use to manage Object Storage buckets. Available values: `public`, `private`, `direct`. Make sure to enable virtual routing and forwarding in your account if you specify `private`, and that the Terraform runtime has access to the IBM Cloud private network."
269272
type = string
270-
# default = "private"
271-
default = "public"
273+
default = "private"
272274
validation {
273275
condition = contains(["public", "private", "direct"], var.management_endpoint_type_for_bucket)
274276
error_message = "The specified `management_endpoint_type_for_bucket` is not a valid selection."

0 commit comments

Comments
 (0)