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: enable_log_archive variable has been replace by log_analysis_enable_archive and activity_tracker_enable_archive variables<br> - fixed some bugs related to using existing resources (#93)
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.")
21
+
existing_kms_guid=(var.existing_log_archive_cos_bucket_name!=null&& var.existing_at_cos_target_bucket_name!=null) || (var.log_analysis_provision==false&& var.enable_at_event_routing_to_cos_bucket==false) ?null: var.existing_kms_instance_crn!=null?element(split(":", var.existing_kms_instance_crn), length(split(":", var.existing_kms_instance_crn)) -3) :tobool("The CRN of the existing KMS is not provided.")
count=(var.existing_cos_kms_key_crn!=null|| (length(local.bucket_config_map) ==0)) ?0:1# no need to create any KMS resources if passing an existing key, or bucket
168
+
count=(var.existing_cos_kms_key_crn!=null|| (length(coalesce(local.bucket_config_map, [])) ==0)) ?0:1# no need to create any KMS resources if passing an existing key, or bucket
count=(var.existing_cos_instance_crn==null) &&length(local.bucket_config_map) !=0?1:0# no need to call COS module if consumer is using existing COS instance
222
+
count=(var.existing_cos_instance_crn==null) &&length(coalesce(local.bucket_config_map, [])) !=0?1:0# no need to call COS module if consumer is using existing COS instance
description="The name of an existing resource group to provision resources in. If not specified, a new resource group is created with the `prefix` variable."
24
+
default=null
25
+
}
26
+
27
+
variable"resource_tags" {
28
+
type=list(string)
29
+
description="The tags to add to the created resources."
0 commit comments