Repository navigation
Expand file tree
/
Copy pathvariables.tf
More file actions
58 lines (49 loc) · 1.34 KB
/
Copy pathvariables.tf
File metadata and controls
58 lines (49 loc) · 1.34 KB
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
# AWS region setting
variable "aws_region" {
description = "AWS region"
default = "eu-north-1"
}
# Path to tfstate in S3 bucket
variable "s3_tfstate_key" {
description = "Terraform state key (path)"
default = "terraform/terraform.tfstate"
}
## ENV variables
# adding a prefix
variable "prefix" {
type = string
description = "Company name or other identifier to use as a prefix"
}
# adding a environment
variable "environment" {
type = string
description = "Used as postfix for naming"
}
# setting kubernetes version
variable "cluster_version" {
type = string
description = "Define kubernetes version"
}
# setting domain name
variable "domain_name" {
type = string
description = "Domain name to use for ExportDNS, nginx and ingresses"
}
# setting txt owner id
variable "hostedzone_id" {
type = string
description = "Hosted Zone ID for ExternalDNS and Cert Manager when using AWS Route53"
}
# setting external dns role name (and lets see how long I take to remove it)
variable "external_dns_role_name" {
default = "ExternalDNS"
description = "IAM role name to use for accessing Route53"
}
variable "email" {
type = string
description = "Email for Lets Encrypt certificates"
}
variable "grafana_pwd" {
type = string
description = "Email for Lets Encrypt certificates"
}