You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: added support to optionally add a prefix to all resources deployed by the solutions. This can be achieved by passing a value for the new input variable prefix (#33)
description="The name of the secret which will store the ingestion key."
71
+
description="The name of the secret which will store the ingestion key. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
description="Log Analysis agent name. Used for naming all kubernetes and helm resources on the cluster."
105
+
description="Log Analysis agent name. Used for naming all kubernetes and helm resources on the cluster. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
description="The name of the secret which will store the access key."
151
+
description="The name of the secret which will store the access key. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
description="Cloud Monitoring agent name. Used for naming all kubernetes and helm resources on the cluster."
199
+
description="Cloud Monitoring agent name. Used for naming all kubernetes and helm resources on the cluster. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
existing_kms_guid=var.existing_kms_instance_crn!=null?element(split(":", var.existing_kms_instance_crn), length(split(":", var.existing_kms_instance_crn)) -3) :length(local.bucket_config_map) ==2?null:tobool("The CRN of the existing KMS is not provided.")
description="The name of a new or an existing resource group in which to provision resources to."
19
+
description="The name of a new or an existing resource group in which to provision resources to. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
20
20
}
21
21
22
22
variable"region" {
@@ -30,13 +30,19 @@ variable "region" {
30
30
}
31
31
}
32
32
33
+
variable"prefix" {
34
+
type=string
35
+
description="(Optional) Prefix to append to all resources created by this solution."
description="The name of the IBM Cloud Logging instance to create."
45
+
description="The name of the IBM Cloud Logging instance to create. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
description="The name of the IBM Cloud Monitoring instance to create."
95
+
description="The name of the IBM Cloud Monitoring instance to create. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
90
96
default="cloud-monitoring"
91
97
}
92
98
@@ -136,7 +142,7 @@ variable "cos_region" {
136
142
variable"cos_instance_name" {
137
143
type=string
138
144
default="observability-cos"
139
-
description="The name to use when creating the Cloud Object Storage instance."
145
+
description="The name to use when creating the Cloud Object Storage instance. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
description="The name to use when creating the Cloud Object Storage bucket for storing log archives (NOTE: bucket names are globally unique). If 'add_bucket_name_suffix' is set to true, a random 4 characters will be added to this name to help ensure bucket name is globally unique."
163
+
description="The name to use when creating the Cloud Object Storage bucket for storing log archives (NOTE: bucket names are globally unique). If 'add_bucket_name_suffix' is set to true, a random 4 characters will be added to this name to help ensure bucket name is globally unique. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
158
164
}
159
165
160
166
variable"at_cos_target_bucket_name" {
161
167
type=string
162
168
default="at-events-cos-bucket"
163
-
description="The name to use when creating the Cloud Object Storage bucket for cos target (NOTE: bucket names are globally unique). If 'add_bucket_name_suffix' is set to true, a random 4 characters will be added to this name to help ensure bucket name is globally unique."
169
+
description="The name to use when creating the Cloud Object Storage bucket for cos target (NOTE: bucket names are globally unique). If 'add_bucket_name_suffix' is set to true, a random 4 characters will be added to this name to help ensure bucket name is globally unique. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
description="The name to give the Key Ring which will be created for the COS bucket Key. Will be used by both log archive bucket and AT COS bucket. Not used if supplying an existing Key."
284
+
description="The name to give the Key Ring which will be created for the COS bucket Key. Will be used by both log archive bucket and AT COS bucket. Not used if supplying an existing Key. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
279
285
}
280
286
281
287
variable"cos_key_name" {
282
288
type=string
283
289
default="observability-cos-key"
284
-
description="The name to give the Key which will be created for the COS bucket. Will be used by both log archive bucket and AT COS bucket. Not used if supplying an existing Key."
290
+
description="The name to give the Key which will be created for the COS bucket. Will be used by both log archive bucket and AT COS bucket. Not used if supplying an existing Key. If prefix input variable is passed then it will get prefixed infront of the value in the format of '<prefix>-value'"
0 commit comments