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
cloud_monitoring_key_validate_msg="Values for 'cloud_monitoring_access_key' and 'log_analysis_instance_region' variables must be passed when 'cloud_monitoring_enabled = true'"
validate_iam_mode=var.logs_agent_enabled==true&& (var.logs_agent_iam_mode=="IAMAPIKey"&& (var.logs_agent_iam_api_key==null|| var.logs_agent_iam_api_key=="")) ?tobool("When passing 'IAMAPIKey' value for 'logs_agent_iam_mode' you cannot set 'logs_agent_iam_api_key' as null or empty string.") :true
48
-
# tflint-ignore: terraform_unused_declarations
49
-
validate_trusted_profile_mode=var.logs_agent_enabled==true&& (var.logs_agent_iam_mode=="TrustedProfile"&& (var.logs_agent_trusted_profile==null|| var.logs_agent_trusted_profile=="")) ?tobool(" When passing 'TrustedProfile' value for 'logs_agent_iam_mode' you cannot set 'logs_agent_trusted_profile' as null or empty string.") :true
50
-
# tflint-ignore: terraform_unused_declarations
51
-
validate_icl_ingress_endpoint=var.logs_agent_enabled==true&& (var.cloud_logs_ingress_endpoint==null|| var.cloud_logs_ingress_endpoint=="") ?tobool("When 'logs_agent_enabled' is enabled, you cannot set 'cloud_logs_ingress_endpoint' as null or empty string.") :true
description="The IBM Cloud trusted profile ID. Used only when `logs_agent_iam_mode` is set to `TrustedProfile`. The trusted profile must have an IBM Cloud Logs `Sender` role."
error_message="When passing 'TrustedProfile' value for 'logs_agent_iam_mode' you cannot set 'logs_agent_trusted_profile' as null or empty string."
215
+
}
199
216
}
200
217
201
218
variable"logs_agent_iam_api_key" {
202
219
type=string
203
220
description="The IBM Cloud API key for the Logs agent to authenticate and communicate with the IBM Cloud Logs. It is required if `logs_agent_iam_mode` is set to `IAMAPIKey`."
description="The host for IBM Cloud Logs ingestion. Ensure you use the ingress endpoint. See https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-endpoints_ingress."
0 commit comments