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
@@ -157,10 +155,10 @@ You need the following permissions to run this module.
157
155
| <aname="input_data_storage"></a> [data\_storage](#input\_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. | <pre>object({<br/> logs_data = optional(object({<br/> enabled = optional(bool, false)<br/> bucket_crn = optional(string)<br/> bucket_endpoint = optional(string)<br/> skip_cos_auth_policy = optional(bool, false)<br/> }), {})<br/> metrics_data = optional(object({<br/> enabled = optional(bool, false)<br/> bucket_crn = optional(string)<br/> bucket_endpoint = optional(string)<br/> skip_cos_auth_policy = optional(bool, false)<br/> }), {})<br/> }<br/> )</pre> | <pre>{<br/> "logs_data": null,<br/> "metrics_data": null<br/>}</pre> | no |
158
156
| <aname="input_existing_event_notifications_instances"></a> [existing\_event\_notifications\_instances](#input\_existing\_event\_notifications\_instances)| List of Event Notifications instance details for routing critical events that occur in your IBM Cloud Logs. | <pre>list(object({<br/> en_instance_id = string<br/> en_region = string<br/> en_integration_name = optional(string)<br/> skip_en_auth_policy = optional(bool, false)<br/> }))</pre> |`[]`| no |
159
157
| <aname="input_instance_name"></a> [instance\_name](#input\_instance\_name)| The name of the IBM Cloud Logs instance to create. Defaults to 'cloud-logs-<region>' |`string`|`null`| no |
160
-
| <aname="input_logs_routing_tenant_regions"></a> [logs\_routing\_tenant\_regions](#input\_logs\_routing\_tenant\_regions)| Pass a list of regions to create a tenant for that is targetted to the 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 |
158
+
| <aname="input_logs_routing_tenant_regions"></a> [logs\_routing\_tenant\_regions](#input\_logs\_routing\_tenant\_regions)| Pass a list of regions to create a tenant for that is targetted 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 |
161
159
| <aname="input_plan"></a> [plan](#input\_plan)| The IBM Cloud Logs plan to provision. Available: standard |`string`|`"standard"`| no |
| <aname="input_region"></a> [region](#input\_region)| The IBM Cloud region where Cloud logs instance will be created. |`string`|`"us-south"`| no |
160
+
| <aname="input_policies"></a> [policies](#input\_policies)| Configuration of IBM Cloud Logs policies. | <pre>list(object({<br/> logs_policy_name = string<br/> logs_policy_description = optional(string, null)<br/> logs_policy_priority = string<br/> application_rule = optional(list(object({<br/> name = string<br/> rule_type_id = string<br/> })))<br/> subsystem_rule = optional(list(object({<br/> name = string<br/> rule_type_id = string<br/> })))<br/> log_rules = optional(list(object({<br/> severities = list(string)<br/> })))<br/> archive_retention = optional(list(object({<br/> id = string<br/> })))<br/> }))</pre> |`[]`| no |
161
+
| <aname="input_region"></a> [region](#input\_region)| The IBM Cloud region where IBM Cloud logs instance will be created. |`string`|`"us-south"`| no |
164
162
| <aname="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id)| The id of the IBM Cloud resource group where the instance will be created. |`string`|`null`| no |
165
163
| <aname="input_resource_tags"></a> [resource\_tags](#input\_resource\_tags)| Tags associated with the IBM Cloud Logs instance (Optional, array of strings). |`list(string)`|`[]`| no |
166
164
| <aname="input_retention_period"></a> [retention\_period](#input\_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 |
@@ -171,12 +169,12 @@ You need the following permissions to run this module.
171
169
172
170
| Name | Description |
173
171
|------|-------------|
174
-
| <aname="output_account_id"></a> [account\_id](#output\_account\_id)| The account id where cloud logs instance is provisioned. |
175
-
| <aname="output_crn"></a> [crn](#output\_crn)| The CRN of the provisioned Cloud Logs instance. |
176
-
| <aname="output_guid"></a> [guid](#output\_guid)| The guid of the provisioned Cloud Logs instance. |
177
-
| <aname="output_ingress_endpoint"></a> [ingress\_endpoint](#output\_ingress\_endpoint)| The public ingress endpoint of the provisioned Cloud Logs instance. |
178
-
| <aname="output_ingress_private_endpoint"></a> [ingress\_private\_endpoint](#output\_ingress\_private\_endpoint)| The private ingress endpoint of the provisioned Cloud Logs instance. |
179
-
| <aname="output_logs_policies_details"></a> [logs\_policies\_details](#output\_logs\_policies\_details)| The details of the Cloud logs policies created. |
180
-
| <aname="output_name"></a> [name](#output\_name)| The name of the provisioned Cloud Logs instance. |
181
-
| <aname="output_resource_group_id"></a> [resource\_group\_id](#output\_resource\_group\_id)| The resource group where Cloud Logs instance resides. |
172
+
| <aname="output_account_id"></a> [account\_id](#output\_account\_id)| The account id where IBM Cloud logs instance is provisioned. |
173
+
| <aname="output_crn"></a> [crn](#output\_crn)| The CRN of the provisioned IBM Cloud Logs instance. |
174
+
| <aname="output_guid"></a> [guid](#output\_guid)| The guid of the provisioned IBM Cloud Logs instance. |
175
+
| <aname="output_ingress_endpoint"></a> [ingress\_endpoint](#output\_ingress\_endpoint)| The public ingress endpoint of the provisioned IBM Cloud Logs instance. |
176
+
| <aname="output_ingress_private_endpoint"></a> [ingress\_private\_endpoint](#output\_ingress\_private\_endpoint)| The private ingress endpoint of the provisioned IBM Cloud Logs instance. |
177
+
| <aname="output_logs_policies_details"></a> [logs\_policies\_details](#output\_logs\_policies\_details)| The details of the IBM Cloud logs policies created. |
178
+
| <aname="output_name"></a> [name](#output\_name)| The name of the provisioned IBM Cloud Logs instance. |
179
+
| <aname="output_resource_group_id"></a> [resource\_group\_id](#output\_resource\_group\_id)| The resource group where IBM Cloud Logs instance resides. |
description="Allow Cloud Logs with instance ID ${ibm_resource_instance.cloud_logs.guid} 'Event Source Manager' and 'Viewer' role access on the Event Notification instance GUID ${each.value.en_instance_id}"
0 commit comments