-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
41 lines (40 loc) · 1.12 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
variable "tags" {
description = "Tags configuration for CloudTrail"
type = map(string)
default = {
Application = "cloudtrail"
}
}
variable "cloudtrail_iam_role_name" {
type = string
description = "IAM Role name for CloudTrail Role"
default = "CloudTrail"
}
variable "cloudwatch_log_group_name" {
type = string
description = "Name for the CloudWatch log group that will contain the cloudtrail logs"
default = "/aws/cloudtrail"
}
variable "cloudwatch_retention_in_days" {
type = number
description = "Cloudwatch log group retention specified in days"
default = 1
}
variable "description" {
type = string
description = "Description for the cloud trail group and new policy group"
default = "CloudTrail logs"
}
variable "name" {
type = string
description = "Name for the cloudtrail group configuration and new policy group"
default = "cloudtrail"
}
variable "s3_prefix" {
type = string
description = "S3 naming and configuration prefix"
}
variable "organization" {
type = bool
description = "Enable organization-level trail"
}