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
Copy file name to clipboardExpand all lines: 1-org/envs/shared/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,8 @@
39
39
| domains\_to\_allow | The list of domains to allow users from in IAM. |
40
40
| interconnect\_project\_id | The Dedicated Interconnect project ID |
41
41
| interconnect\_project\_number | The Dedicated Interconnect project number |
42
-
| logs\_export\_logbucket\_linked\_dataset\_name | The resource name of the Log Bucket linked BigQuery dataset created for Log Analytics. See https://cloud.google.com/logging/docs/log-analytics. |
43
-
| logs\_export\_logbucket\_name | The log bucket for destination of log exports. See https://cloud.google.com/logging/docs/routing/overview#buckets. |
42
+
| logs\_export\_project\_linked\_dataset\_name | The resource name of the Log Bucket linked BigQuery dataset for the project destination. |
43
+
| logs\_export\_project\_logbucket\_name | The resource name for the Log Bucket created for the project destination. |
44
44
| logs\_export\_pubsub\_topic | The Pub/Sub topic for destination of log exports |
45
45
| logs\_export\_storage\_bucket\_name | The storage bucket for destination of log exports |
46
46
| network\_folder\_name | The network folder name. |
description="The resource name of the Log Bucket linked BigQuery dataset created for Log Analytics. See https://cloud.google.com/logging/docs/log-analytics ."
130
-
}
131
-
132
132
output"tags" {
133
133
value=local.tags_output
134
134
description="Tag Values to be applied on next steps."
| billing\_account | Billing Account ID used in case sinks are under billing account level. Format 000000-000000-000000. |`string`|`null`| no |
63
63
| enable\_billing\_account\_sink | If true, a log router sink will be created for the billing account. The billing\_account variable cannot be null. |`bool`|`false`| no |
64
-
| logbucket\_options | Destination LogBucket options:<br>- name: The name of the log bucket to be created and used for log entries matching the filter.<br>- logging\_sink\_name: The name of the log sink to be created.<br>- logging\_sink\_filter: The filter to apply when exporting logs. Only log entries that match the filter are exported. Default is "" which exports all logs.<br>- location: The location of the log bucket. Default: global.<br>- enable\_analytics: Whether or not Log Analytics is enabled. A Log bucket with Log Analytics enabled can be queried in the Log Analytics page using SQL queries. Cannot be disabled once enabled.<br>- linked\_dataset\_id: The ID of the linked BigQuery dataset. A valid link dataset ID must only have alphanumeric characters and underscores within it and have up to 100 characters.<br>- linked\_dataset\_description: A use-friendly description of the linked BigQuery dataset. The maximum length of the description is 8000 characters.<br>- retention\_days: The number of days data should be retained for the log bucket. Default 30. | <pre>object({<br> name = optional(string, null)<br> logging_sink_name = optional(string, null)<br> logging_sink_filter = optional(string, "")<br> location = optional(string, "global")<br> enable_analytics = optional(bool, true)<br> linked_dataset_id = optional(string, null)<br> linked_dataset_description = optional(string, null)<br> retention_days = optional(number, 30)<br> })</pre> | `null` | no |
65
64
| logging\_destination\_project\_id | The ID of the project that will have the resources where the logs will be created. |`string`| n/a | yes |
66
65
| logging\_project\_key | (Optional) The key of logging destination project if it is inside resources map. It is mandatory when resource\_type = project and logging\_target\_type = logbucket. |`string`|`""`| no |
66
+
| project\_options | Destination Project options:<br>- logging\_sink\_name: The name of the log sink to be created.<br>- logging\_sink\_filter: The filter to apply when exporting logs. Only log entries that match the filter are exported. Default is "" which exports all logs.<br>- log\_bucket\_id: Id of the log bucket create to store the logs exported to the project.<br>- log\_bucket\_description: Description of the log bucket create to store the logs exported to the project.<br>- location: The location of the log bucket. Default: global.<br>- enable\_analytics: Whether or not Log Analytics is enabled in the \_Default log bucket. A Log bucket with Log Analytics enabled can be queried in the Log Analytics page using SQL queries. Cannot be disabled once enabled.<br>- retention\_days: The number of days data should be retained for the \_Default log bucket. Default 30.<br>- linked\_dataset\_id: The ID of the linked BigQuery dataset for the \_Default log bucket. A valid link dataset ID must only have alphanumeric characters and underscores within it and have up to 100 characters.<br>- linked\_dataset\_description: A use-friendly description of the linked BigQuery dataset for the \_Default log bucket. The maximum length of the description is 8000 characters. | <pre>object({<br> logging_sink_name = optional(string, null)<br> logging_sink_filter = optional(string, "")<br> log_bucket_id = optional(string, null)<br> log_bucket_description = optional(string, null)<br> location = optional(string, "global")<br> enable_analytics = optional(bool, true)<br> retention_days = optional(number, 30)<br> linked_dataset_id = optional(string, null)<br> linked_dataset_description = optional(string, null)<br> })</pre> | `null` | no |
67
67
| pubsub\_options | Destination Pubsub options:<br>- topic\_name: The name of the pubsub topic to be created and used for log entries matching the filter.<br>- logging\_sink\_name: The name of the log sink to be created.<br>- logging\_sink\_filter: The filter to apply when exporting logs. Only log entries that match the filter are exported. Default is "" which exports all logs.<br>- create\_subscriber: Whether to create a subscription to the topic that was created and used for log entries matching the filter. If 'true', a pull subscription is created along with a service account that is granted roles/pubsub.subscriber and roles/pubsub.viewer to the topic. | <pre>object({<br> topic_name = optional(string, null)<br> logging_sink_name = optional(string, null)<br> logging_sink_filter = optional(string, "")<br> create_subscriber = optional(bool, true)<br> })</pre> |`null`| no |
68
68
| resource\_type | Resource type of the resource that will export logs to destination. Must be: project, organization, or folder. |`string`| n/a | yes |
69
69
| resources | Export logs from the specified resources. |`map(string)`| n/a | yes |
@@ -74,8 +74,8 @@ module "logging_logbucket" {
74
74
| Name | Description |
75
75
|------|-------------|
76
76
| billing\_sink\_names | Map of log sink names with billing suffix |
77
-
|logbucket\_destination\_name | The resource name for the destination Log Bucket. |
78
-
|logbucket\_linked\_dataset\_name | The resource name of the Log Bucket linked BigQuery dataset. |
77
+
|project\_linked\_dataset\_name | The resource name of the Log Bucket linked BigQuery dataset for the project destination. |
78
+
|project\_logbucket\_name | The resource name for the Log Bucket created for the project destination. |
79
79
| pubsub\_destination\_name | The resource name for the destination Pub/Sub. |
80
80
| storage\_destination\_name | The resource name for the destination Storage. |
0 commit comments