-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
41 lines (41 loc) · 1.44 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 "bucket_name" {
type = string
description = "Required; The bucket name in which terraform state files will be stored."
}
variable "bucket_source_account_id" {
type = string
description = "Required; The account in which the bucket will be created."
}
variable "account_ids" {
type = list(string)
description = "Required; The account IDs that will need access to the bucket."
}
variable "lock_table_names" {
type = list(string)
description = "Required; The name of the DynamoDb table(s) used to track state locks."
}
variable "principals" {
type = list(string)
description = "Optional; A list of AWS principals (user/prfix/userId, role/prefix/roleName), that is applied to the bucket policy. Default is \"root\""
default = []
}
variable "tags" {
type = map(string)
description = "Optional; A map of tags (key, value) pairs for s3 and dynamodb table"
default = {}
}
variable "backup_tags" {
type = map(string)
description = "Optional; Supply a list of tags that are supported by AWS Backup Vault. These tags are applied to the Terraform s3 bucket."
default = {}
}
variable "log_bucket" {
type = string
description = "Optional; An s3 bucket where log files will be delivered"
default = ""
}
variable "log_prefix" {
type = string
description = "Optional; A prefix placed on log files as they are delivered to the log_bucket"
default = "logs/"
}