-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
85 lines (71 loc) · 2.09 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
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"
}
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"
}
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 = false
}
variable "organization" {
description = "Organization name (Top level namespace)"
type = "string"
default = ""
}
variable "owner" {
description = "TAG: Owner of the service"
type = "string"
default = "UNDEF"
}
variable "product" {
description = "TAG: Company/business product"
type = "string"
default = "UNDEF"
}
variable "service" {
description = "TAG: Application (microservice) name"
type = "string"
default = "UNDEF"
}
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"
}
// Variables different than in terraform-local-label
variable "enabled" {
description = "Set to false to prevent the module from creating anything"
default = true
}
variable "names" {
description = "Base names for resources"
type = "list"
}