-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
85 lines (71 loc) · 1.88 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
# Reference: https://www.terraform.io/language/configuration-0-11/variables
variable "aws_region" {
type = string
description = "AWS Region"
default = ""
}
variable "cluster_env" {
type = string
description = "EKS cluster environment: alpha / beta / staging / production"
default = ""
}
variable "prj_code" {
type = string
description = "Project ID or unique key"
default = ""
}
variable "cluster_version" {
type = string
description = "Kubernetes cluster version"
default = ""
}
variable "cluster_iam_role" {
type = string
description = "IAM Role ARN for EKS Cluster"
default = ""
}
variable "nodegroup_iam_role" {
type = string
description = "IAM Role ARN for EKS Node Group"
default = ""
}
variable "vpc_subnets" {
type = list
description = "VPC Subnet list"
default = [""]
}
variable "vpc_security_groups" {
type = list
description = "VPC Security Groups list"
default = [""]
}
variable "private_access" {
type = string
description = "Configure access to the Kubernetes API server endpoint"
default = "true"
}
variable "public_access" {
type = string
description = "Configure access to the Kubernetes API server endpoint"
default = "false"
}
variable "nodegroup_shape_service_api" {
type = list
description = "Amazon EC2 Instance Types for EKS Node service API"
default = [""]
}
variable "nodegroup_shape_service_rabbitmq" {
type = list
description = "Amazon EC2 Instance Types for EKS Node Sevice RabbitMQ"
default = [""]
}
variable "nodegroup_shape_service_elastic" {
type = list
description = "Amazon EC2 Instance Types for EKS Node Sevice ElasticSearch"
default = [""]
}
variable "nodegroup_ssh_key" {
type = string
description = "EC2 SSH Key"
default = ""
}