Terraform Logging Sinks Module
This module allows easy creation of one or more logging sinks.
Example
Variables
| name |
description |
type |
required |
default |
| destinations |
Map of destinations by sink name. |
map(string) |
✓ |
|
| parent |
Resource where the sink will be created, eg 'organizations/nnnnnnnn'. |
string |
✓ |
|
| sinks |
Map of sink name / sink filter. |
map(string) |
✓ |
|
| default_options |
Default options used for sinks where no specific options are set. |
object({...}) |
|
... |
| sink_options |
Optional map of sink name / sink options. If no options are specified for a sink defaults will be used. |
map(object({...})) |
|
{} |
Outputs
| name |
description |
sensitive |
| names |
Log sink names. |
|
| sinks |
Log sink resources. |
|
| writer_identities |
Log sink writer identities. |
|