-
Notifications
You must be signed in to change notification settings - Fork 10
/
variables.tf
100 lines (84 loc) · 2.1 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
95
96
97
98
99
100
#################
# Configuration #
#################
variable "acl" {
description = "The bucket ACL to set"
default = "private"
type = string
}
variable "bucket_policy" {
description = "The S3 bucket policy to set. If empty, no policy will be set"
default = ""
type = string
}
variable "versioning" {
description = "Enable object versioning for the bucket"
default = false
type = bool
}
variable "log_target_bucket" {
description = "Set the target bucket for logs"
default = ""
type = string
}
variable "logging_enabled" {
description = "Set the logging for bucket"
default = false
type = bool
}
variable "bucket_name" {
description = "Set the name of the S3 bucket. If left blank, a name will be automatically generated (recommended)"
default = ""
type = string
}
variable "log_path" {
description = "Set the path of the logs"
default = ""
type = string
}
variable "lifecycle_rule" {
description = "lifecycle"
default = []
type = any # list(any)
}
variable "cors_rule" {
description = "cors rule"
default = []
type = any # list(any)
}
variable "enable_allow_block_pub_access" {
description = "Enable whether to allow for the bucket to be blocked from public access"
default = true
type = bool
}
########
# Tags #
########
variable "business_unit" {
description = "Area of the MOJ responsible for the service"
type = string
}
variable "application" {
description = "Application name"
type = string
}
variable "is_production" {
description = "Whether this is used for production or not"
type = string
}
variable "team_name" {
description = "Team name"
type = string
}
variable "namespace" {
description = "Namespace name"
type = string
}
variable "environment_name" {
description = "Environment name"
type = string
}
variable "infrastructure_support" {
description = "The team responsible for managing the infrastructure. Should be of the form <team-name> (<team-email>)"
type = string
}