-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
94 lines (77 loc) · 2.02 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
variable "bucket_name" {
description = "The Name of the S3 bucket"
type = string
}
variable "origin_region" {
description = "The Name of the Origin region"
type = string
}
variable "replica_region" {
description = "The Name of the Origin region"
type = string
}
variable "enable_versioning" {
description = "Should versioning be enabled on the bucket"
type = string
}
variable "encrypt_with_kms" {
description = "Should we use a KMS CMK? If false we will use SSE AES256"
type = string
}
variable "kms_key" {
description = "KMS key to use for bucket encryption"
type = string
default = ""
}
variable "replica_kms_key" {
description = "KMS key to use for bucket encryption at destiniation"
type = string
default = ""
}
variable "bucket_acl" {
description = "KMS key to use for bucket encryption"
type = string
}
variable "block_public_acls" {
description = "KMS key to use for bucket encryption"
type = bool
default = true
}
variable "block_public_policy" {
description = "KMS key to use for bucket encryption"
type = bool
default = true
}
variable "ignore_public_acls" {
description = "KMS key to use for bucket encryption"
type = bool
default = true
}
variable "restrict_public_buckets" {
description = "KMS key to use for bucket encryption"
type = bool
default = true
}
variable "bucket_policy_json" {
description = "KMS key to use for bucket encryption"
type = string
}
variable "logging_enabled" {
description = "Should we enable logging dynamic block?"
type = bool
default = false
}
variable "logging_bucket" {
description = "What bucket should we target for logging?"
type = string
default = ""
}
variable "logging_prefix" {
description = "What prefix key should we use for logging?"
type = string
default = ""
}
variable "tags" {
description = "Map to pass in tags to the resources"
type = map(string)
}