generated from jx3-gitops-repositories/jx3-terraform-eks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
52 lines (44 loc) · 1.52 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
// ----------------------------------------------------------------------------
// Optional Variables
// ----------------------------------------------------------------------------
variable "region" {
description = "AWS region code for creating resources."
type = string
}
variable "cluster_version" {
description = "Kubernetes version to use for the EKS cluster."
type = string
default = "1.17"
}
variable "vault_user" {
description = "The AWS IAM Username whose credentials will be used to authenticate the Vault pods against AWS"
type = string
default = ""
}
variable "cluster_name" {
description = "Name of the Kubernetes cluster to create"
type = string
default = ""
}
variable "force_destroy" {
description = "Flag to determine whether storage buckets get forcefully destroyed. If set to false, empty the bucket first in the aws s3 console, else terraform destroy will fail with BucketNotEmpty error"
type = bool
default = false
}
variable "is_jx2" {
default = false
type = bool
description = "Flag to specify if jx2 related resources need to be created"
}
variable "jx_git_url" {
description = "URL for the Jenins X cluster git repository"
type = string
}
variable "jx_bot_username" {
description = "Bot username used to interact with the Jenkins X cluster git repository"
type = string
}
variable "jx_bot_token" {
description = "Bot token used to interact with the Jenkins X cluster git repository"
type = string
}