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
# Even though we're only performing a comparison (var.ibmcloud_cos_api_key != null),
20
+
# Terraform treats the entire value as "tainted" due to sensitivity.
21
+
# Later, in the cloud_logs module, where the data_storage input variable is used in a for_each loop,
22
+
# the loop fails with the error: "Sensitive values, or values derived from sensitive values, cannot be used as for_each arguments."
23
+
# However, since we use nonsensitive() solely for logical comparison, we are not exposing any secret values to logs and it's safe to use. Issue https://github.ibm.com/GoldenEye/issues/issues/13562.
description="Allow Cloud logs instances `Writer` access to the COS bucket with ID ${module.bucket_crns[module.buckets.bucket_configs[count.index].bucket_name].resource}, in the COS instance with ID ${module.existing_cos_instance_crn_parser.service_instance}."
description="The IBM Cloud API key that can create Cloud Object Storage (COS) buckets. If not specified, the 'ibmcloud_api_key' variable is used. Specify this key if the COS instance is in an account that's different from the one associated with the cloud logs resources. Do not set if the same account owns all the instances."
56
+
sensitive=true
57
+
default=null
58
+
}
59
+
53
60
variable"existing_cos_instance_crn" {
54
61
type=string
55
62
description="The CRN of an existing Object Storage instance."
description="To skip creating an IAM authorization policy that allows the IBM Cloud logs to write to the Cloud Object Storage bucket, set this variable to `true`."
description="The IBM Cloud API key that can create Cloud Object Storage (COS) buckets. If not specified, the 'ibmcloud_api_key' variable is used. Specify this key if the COS instance is in an account that's different from the one associated with the cloud logs resources. Leave empty if the same account owns all the instances."
45
+
sensitive=true
46
+
default=null
47
+
}
48
+
42
49
variable"existing_cos_instance_crn" {
43
50
type=string
44
51
description="The CRN of an existing Object Storage instance."
description="To skip creating an IAM authorization policy that allows the IBM Cloud logs to write to the Cloud Object Storage bucket, set this variable to `true`."
0 commit comments