-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
57 lines (47 loc) · 1.33 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
variable "k8s_namespace" {
description = "Kubernetes namespace to deploy the AWS External DNS into."
type = string
default = "kube-system"
}
variable "k8s_replicas" {
description = "Amount of replicas to be created."
type = number
default = 1
}
variable "k8s_pod_labels" {
description = "Additional labels to be added to the Pods."
type = map(string)
default = {}
}
variable "domain" {
description = "Hosted domain name"
type = string
}
variable "hosted_zone_id" {
description = "Zone ID for the Route 53 DNS"
type = string
}
variable "external_dns_version" {
description = "The AWS External DNS version to use. See https://github.com/kubernetes-sigs/external-dns/releases for available versions"
type = string
default = "0.7.6"
}
variable "k8s_cluster_type" {
description = "K8s cluster Type"
type = string
default = "eks"
}
variable "k8s_cluster_name" {
description = "Current Cluster Name"
type = string
}
variable "aws_zone_type" {
description = "Route 53 DNS Zone Type: public | private"
type = string
default = "public"
}
variable "sync_policy" {
description = "Route 53 DNS Zone Type: public | private"
type = string
default = "upsert-only" # choices are: sync, upsert-only, create-only
}