generated from dxw/terraform-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
39 lines (34 loc) · 1013 Bytes
/
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 "project_name" {
description = "Project name to be used as a prefix for all resources"
type = string
}
variable "enable_s3_bucket_logging" {
description = "Enable S3 bucket logging"
type = bool
default = true
}
variable "logging_bucket_retention" {
description = "Logging bucket retention in days. Set to 0 to keep all logs."
type = number
default = 30
}
variable "tfvars_files" {
description = "Map of objects containing tfvar file paths"
type = map(
object({
path = string
key = optional(string, "")
}
))
default = {}
}
variable "tfvars_restrict_access_user_ids" {
description = "List of AWS User IDs that require access to the tfvars S3 bucket. If left empty, all users within the AWS account will have access"
type = list(string)
default = []
}
variable "tfvars_kms_encryption" {
description = "Use KMS rather than AES256 encryption for the tfvars bucket"
type = bool
default = true
}