-
Notifications
You must be signed in to change notification settings - Fork 6
/
variables.tf
37 lines (33 loc) · 1.38 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
variable "flow_log" {
description = "Object of attributes for managing a Flow Log"
type = object({
name = string
log_destination_type = string
eni_id = optional(string)
subnet_id = optional(string)
transit_gateway_id = optional(string)
transit_gateway_attachment_id = optional(string)
vpc_id = optional(string)
deliver_cross_account_role = optional(string)
iam_role_arn = optional(string)
log_destination = optional(string)
log_format = optional(string)
max_aggregation_interval = optional(number)
tags = optional(map(string), {})
traffic_type = optional(string, "ALL")
destination_options = optional(object({
file_format = optional(string)
hive_compatible_partitions = optional(bool)
per_hour_partition = optional(bool)
}))
cloudwatch_log_group = optional(object({
enable = optional(bool, true)
name = optional(string)
kms_key_id = optional(string)
log_group_class = optional(string, "INFREQUENT_ACCESS")
retention_in_days = optional(number, 30)
skip_destroy = optional(bool, false)
tags = optional(map(string), {})
}), {})
})
}