This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
variables.tf
78 lines (63 loc) · 2.53 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
variable "project" {
default = "Unknown"
description = "Project name, used for tagging and naming the Trail."
}
variable "environment" {
default = "Unknown"
description = "Name of the environment this Trail is targeting."
}
variable "region" {
default = "us-east-1"
description = "Name of the region where the Trail should be created."
}
variable "create_s3_bucket" {
default = "true"
description = "Specifies whether to create a new S3 bucket. When false, you must provide a valid bucket to 's3_bucket_name'."
}
variable "s3_bucket_name" {
description = "Name of the S3 bucket to store logs in (required)."
}
variable "enable_s3_bucket_expiration" {
default = "false"
description = "Specifies whether to enable an expiration policy for the log storage bucket."
}
variable "s3_bucket_days_to_expiration" {
default = "90"
description = "How many days to store logs before they will be deleted. Only applies if `enable_s3_bucket_expiration` is true."
}
variable "enable_s3_bucket_transition" {
default = "true"
description = "Specifies whether to enable a storage class transition for the S3 bucket."
}
variable "s3_bucket_days_to_transition" {
default = "90"
description = "How many days to store logs before they will be transitioned to a new storage class. Only applies if `enable_s3_bucket_transition` is true."
}
variable "s3_bucket_transition_storage_class" {
default = "ONEZONE_IA"
description = "Specifies the S3 storage class to which logs will transition for archival. Only applies if `enable_s3_bucket_transition` is true."
}
variable "enable_logging" {
default = "true"
description = "Specifies whether to enable logging for the trail."
}
variable "include_global_service_events" {
default = "true"
description = "Specifies whether the trail is publishing events from global services such as IAM."
}
variable "is_multi_region_trail" {
default = "false"
description = "Specifies whether the trail is created in the current region or in all regions."
}
variable "enable_log_file_validation" {
default = "false"
description = "Specifies whether log file integrity validation is enabled."
}
variable "is_organization_trail" {
default = "false"
description = "Specifies whether the trail is an AWS Organizations trail, which must be created in the organization master account."
}
variable "s3_key_prefix" {
default = ""
description = "Specifies the S3 key prefix that precedes the name of the bucket you have designated for log file delivery."
}