This repository has been archived by the owner on Jan 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathvariables.tf
93 lines (78 loc) · 2.25 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
variable "namespace" {
type = "string"
description = "Namespace (e.g. `eg` or `cp`)"
}
variable "stage" {
type = "string"
description = "Stage (e.g. `prod`, `dev`, `staging`)"
}
variable "name" {
type = "string"
default = "kops-state"
description = "Name (e.g. `kops-state`)"
}
variable "cluster_name" {
type = "string"
default = "us-east-1"
description = "Kops cluster name (e.g. `us-east-1` or `cluster-1`)"
}
variable "delimiter" {
type = "string"
default = "-"
description = "Delimiter to be used between `namespace`, `stage`, `name`, and `attributes`"
}
variable "attributes" {
type = "list"
default = []
description = "Additional attributes (e.g. `1`)"
}
variable "tags" {
type = "map"
default = {}
description = "Additional tags (e.g. map(`BusinessUnit`,`XYZ`)"
}
variable "zone_name" {
type = "string"
default = "$${name}.$${parent_zone_name}"
description = "Template for the DNS zone name"
}
variable "parent_zone_id" {
type = "string"
default = ""
description = "Parent DNS zone ID"
}
variable "parent_zone_name" {
type = "string"
default = ""
description = "Parent DNS zone name (e.g. `domain.com`)"
}
variable "region" {
type = "string"
description = "AWS Region the S3 bucket should reside in"
default = "us-east-1"
}
variable "acl" {
type = "string"
description = "The canned ACL to apply to the S3 bucket"
default = "private"
}
variable "block_public_access_enabled" {
type = "string"
description = "Block all public access from bucket level"
default = "true"
}
variable "force_destroy" {
type = "string"
description = "A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without errors. These objects are not recoverable"
default = false
}
variable "domain_enabled" {
type = "string"
default = "true"
description = "A boolean that determines whether a DNS Zone for the kops domain is created"
}
variable "create_bucket" {
type = "string"
default = "true"
description = "Set to `false` to use existing S3 bucket for kops state store instead of creating one."
}