-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
70 lines (58 loc) · 1.87 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
###################################################
#VPC
###################################################
variable "region" {
type = string
description = "AWS region"
#default = "us-west-2"
}
variable "eks_vpc_cidr" {
description = "The CIDR block for the VPC that will be created."
type = string
#default = "10.0.0.0/16"
}
variable "eks_vpc_name" {
description = "The name of the VPC that will host the EKS cluster."
type = string
default = "eks_vpc"
}
variable "cloud9_vpc_cidr" {
description = "The CIDR block for the VPC that will be created."
type = string
#default = "172.31.0.0/16"
}
variable "cloud9_vpc_name" {
description = "The name of the VPC that will host the Cloud9 instance."
type = string
default = "cloud9_vpc"
}
variable "cloud9_owner_arn" {
description = "The arn of the IAM user who would be the owner of the Cloud9 instance."
type = string
#default = ""
}
###################################################
#EKS
###################################################
variable "cluster_version" {
description = "Kubernetes `<major>.<minor>` version to use for the EKS cluster (i.e.: `1.23`)"
type = string
default = "1.23"
}
#-------------------------------
# EKS Cluster Security Groups
#-------------------------------
variable "cluster_security_group_additional_rules" {
description = "List of additional security group rules to add to the cluster security group created. Set `source_node_security_group = true` inside rules to set the `node_security_group` as source"
type = any
default = {}
}
variable "vpc_id" {
type = string
description = "VPC ID where the EKS cluster will be deployed to"
}
variable "private_subnet_ids" {
description = "List of the private subnet IDs"
type = list(string)
#default = []
}