32 lines
1.6 KiB
Markdown
32 lines
1.6 KiB
Markdown
|
# Terraform Logging Sinks Module
|
||
|
|
||
|
This module allows easy creation of one or more logging sinks.
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```hcl
|
||
|
module "sinks" {
|
||
|
}
|
||
|
```
|
||
|
|
||
|
<!-- BEGIN TFDOC -->
|
||
|
## Variables
|
||
|
|
||
|
| name | description | type | required | default |
|
||
|
|---|---|:---: |:---:|:---:|
|
||
|
| destinations | Map of destinations by sink name. | <code title="map(string)">map(string)</code> | ✓ | |
|
||
|
| parent | Resource where the sink will be created, eg 'organizations/nnnnnnnn'. | <code title="">string</code> | ✓ | |
|
||
|
| sinks | Map of sink name / sink filter. | <code title="map(string)">map(string)</code> | ✓ | |
|
||
|
| *default_options* | Default options used for sinks where no specific options are set. | <code title="object({ bigquery_partitioned_tables = bool include_children = bool unique_writer_identity = bool })">object({...})</code> | | <code title="{ bigquery_partitioned_tables = true include_children = true unique_writer_identity = false }">...</code> |
|
||
|
| *sink_options* | Optional map of sink name / sink options. If no options are specified for a sink defaults will be used. | <code title="map(object({ bigquery_partitioned_tables = bool include_children = bool unique_writer_identity = bool }))">map(object({...}))</code> | | <code title="">{}</code> |
|
||
|
|
||
|
## Outputs
|
||
|
|
||
|
| name | description | sensitive |
|
||
|
|---|---|:---:|
|
||
|
| names | Log sink names. | |
|
||
|
| sinks | Log sink resources. | |
|
||
|
| writer_identities | Log sink writer identities. | |
|
||
|
<!-- END TFDOC -->
|
||
|
|