-
Notifications
You must be signed in to change notification settings - Fork 16
/
variables.tf
108 lines (90 loc) · 2.53 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
101
102
103
104
105
106
107
108
//
// Variables specific to module label
//
variable "attributes" {
description = "Suffix name with additional attributes (policy, role, etc.)"
type = "list"
default = []
}
variable "component" {
description = "TAG: Underlying, dedicated piece of service (Cache, DB, ...)"
type = "string"
default = "UNDEF-S3-Buckets"
}
variable "delimiter" {
description = "Delimiter to be used between `name`, `namespaces`, `attributes`, etc."
type = "string"
default = "-"
}
variable "environment" {
description = "Environment (ex: `dev`, `qa`, `stage`, `prod`). (Second or top level namespace. Depending on namespacing options)"
type = "string"
}
variable "monitor" {
description = "TAG: Should resource be monitored"
type = "string"
default = "UNDEF-S3-Buckets"
}
variable "names" {
description = "List of S3 bucket names"
type = "list"
}
variable "namespace-env" {
description = "Prefix name with the environment. If true, format is: <env>-<name>"
default = true
}
variable "namespace-org" {
description = "Prefix name with the organization. If true, format is: <org>-<env namespaced name>. If both env and org namespaces are used, format will be <org>-<env>-<name>"
default = true
}
variable "organization" {
description = "Organization name (Top level namespace)"
type = "string"
default = ""
}
variable "owner" {
description = "TAG: Owner of the service"
type = "string"
default = "UNDEF-S3-Buckets"
}
variable "product" {
description = "TAG: Company/business product"
type = "string"
default = "UNDEF-S3-Buckets"
}
variable "service" {
description = "TAG: Application (microservice) name"
type = "string"
default = "UNDEF-S3-Buckets"
}
variable "tags" {
description = "A map of additional tags"
type = "map"
default = {}
}
variable "team" {
description = "TAG: Department/team of people responsible for service"
type = "string"
default = "UNDEF-S3-Buckets"
}
// Module specific Variables
variable "enabled" {
description = "Set to false to prevent the module from creating anything"
default = true
}
variable "force_destroy" {
description = "Delete all objects in bucket on destroy"
default = false
}
variable "principal" {
description = "principal"
default = "*"
}
variable "public" {
description = "Allow public read access to bucket"
default = false
}
variable "versioned" {
description = "Version the bucket"
default = false
}