-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathvariables.tf
46 lines (40 loc) · 1.45 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
40
41
42
43
44
45
46
variable "region" {
type = string
description = "AWS region"
}
variable "enable_log_file_validation" {
type = bool
description = "Specifies whether log file integrity validation is enabled. Creates signed digest for validated contents of logs"
}
variable "is_multi_region_trail" {
type = bool
description = "Specifies whether the trail is created in the current region or in all regions"
}
variable "include_global_service_events" {
type = bool
description = "Specifies whether the trail is publishing events from global services such as IAM to the log files"
}
variable "enable_logging" {
type = bool
description = "Enable logging for the trail"
}
variable "is_organization_trail" {
type = bool
description = "The trail is an AWS Organizations trail"
}
variable "advanced_event_selector" {
type = list(object({
name = optional(string)
field_selector = list(object({
field = string
ends_with = optional(list(string))
not_ends_with = optional(list(string))
equals = optional(list(string))
not_equals = optional(list(string))
starts_with = optional(list(string))
not_starts_with = optional(list(string))
}))
}))
description = "Specifies an advanced event selector for enabling data event logging. See: https://www.terraform.io/docs/providers/aws/r/cloudtrail.html for details on this variable"
default = []
}