-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
39 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
38
39
variable "name_prefix" {
description = "A prefix used for naming resources."
type = string
}
variable "vpc_id" {
type = string
description = "VPC ID where resources will be created and flow logs enabled."
}
variable "tags" {
type = map(string)
description = "Default tags attached to all resources."
default = {}
}
variable "retention_in_days" {
type = string
description = "Specifies the number of days you want to retain log events in the specified log group."
default = ""
}
variable "kms_key_id" {
type = string
description = "The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested."
default = ""
}
variable "traffic_type" {
type = string
description = "The type of traffic to capture. Valid values: ACCEPT, REJECT, ALL."
default = "ALL"
}
variable "max_aggregation_interval" {
type = string
description = "The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values: 60 seconds (1 minute) or 600 seconds (10 minutes)"
default = "600"
}