generated from geekcell/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
44 lines (38 loc) · 1.16 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
# Context
variable "tags" {
description = "Tags to add to the AWS Cloudwatch log group."
default = {}
type = map(any)
}
# AWS Cloudwatch Log Group
variable "name" {
description = "The name of the log group."
type = string
}
variable "retention_in_days" {
description = "Specifies the number of days you want to retain log events in the specified log group."
default = 30
type = number
}
variable "skip_destroy" {
description = "Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the Terraform state."
default = false
type = bool
}
# Log Streams
variable "log_streams" {
description = "A list of log streams to create within the log group."
default = []
type = list(string)
}
# KMS Encryption
variable "kms_key_id" {
description = "The ARN of the KMS Key to use when encrypting log data."
default = null
type = string
}
variable "enable_customer_managed_kms" {
description = "Whether to enable customer managed KMS encryption for the log group."
default = false
type = bool
}