| access_tags |
A list of access tags to apply to the IBM Cloud Logs instance created by the module. For more information, see https://cloud.ibm.com/docs/account?topic=account-access-tags-tutorial. |
list(string) |
[] |
no |
| cbr_rules |
(Optional, list) List of context-based restrictions rules to create |
list(object({ description = string account_id = string rule_contexts = list(object({ attributes = optional(list(object({ name = string value = string }))) })) enforcement_mode = string operations = optional(list(object({ api_types = list(object({ api_type_id = string })) }))) })) |
[] |
no |
| data_storage |
A logs data bucket and a metrics bucket in IBM Cloud Object Storage to store your IBM Cloud Logs data for long term storage, search, analysis and alerting. |
object({ logs_data = optional(object({ enabled = optional(bool, false) bucket_crn = optional(string) bucket_endpoint = optional(string) skip_cos_auth_policy = optional(bool, false) }), {}) metrics_data = optional(object({ enabled = optional(bool, false) bucket_crn = optional(string) bucket_endpoint = optional(string) skip_cos_auth_policy = optional(bool, false) }), {}) } ) |
{ "logs_data": null, "metrics_data": null } |
no |
| existing_event_notifications_instances |
List of Event Notifications instance details for routing critical events that occur in your IBM Cloud Logs. |
list(object({ crn = string integration_name = optional(string) skip_iam_auth_policy = optional(bool, false) })) |
[] |
no |
| instance_name |
The name of the IBM Cloud Logs instance to create. Defaults to 'cloud-logs-' |
string |
null |
no |
| logs_routing_tenant_regions |
Pass a list of regions to create a tenant for that is targeted to the IBM Cloud Logs instance created by this module. To manage platform logs that are generated by IBM Cloud® services in a region of IBM Cloud, you must create a tenant in each region that you operate. Leave the list empty if you don't want to create any tenants. NOTE: You can only have 1 tenant per region in an account. |
list(any) |
[] |
no |
| plan |
The IBM Cloud Logs plan to provision. Available: standard |
string |
"standard" |
no |
| policies |
Configuration of IBM Cloud Logs policies. |
list(object({ logs_policy_name = string logs_policy_description = optional(string, null) logs_policy_priority = string application_rule = optional(list(object({ name = string rule_type_id = string }))) subsystem_rule = optional(list(object({ name = string rule_type_id = string }))) log_rules = optional(list(object({ severities = list(string) }))) archive_retention = optional(list(object({ id = string }))) })) |
[] |
no |
| region |
The IBM Cloud region where IBM Cloud logs instance will be created. |
string |
"us-south" |
no |
| resource_group_id |
The id of the IBM Cloud resource group where the instance will be created. |
string |
null |
no |
| resource_tags |
Tags associated with the IBM Cloud Logs instance (Optional, array of strings). |
list(string) |
[] |
no |
| retention_period |
The number of days IBM Cloud Logs will retain the logs data in Priority insights. Allowed values: 7, 14, 30, 60, 90. |
number |
7 |
no |
| service_endpoints |
The type of the service endpoint that will be set for the IBM Cloud Logs instance. Allowed values: public-and-private. |
string |
"public-and-private" |
no |
| skip_logs_routing_auth_policy |
Whether to create an IAM authorization policy that permits the Logs Routing server 'Sender' access to the IBM Cloud Logs instance created by this module. |
bool |
false |
no |