-
Notifications
You must be signed in to change notification settings - Fork 41
/
variables.tfvars
61 lines (58 loc) · 1.87 KB
/
variables.tfvars
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
env = "dev"
aws-region = "us-east-2"
vpc-cidr-block = "10.16.0.0/16"
vpc-name = "vpc"
igw-name = "igw"
pub-subnet-count = 3
pub-cidr-block = ["10.16.0.0/20", "10.16.16.0/20", "10.16.32.0/20"]
pub-availability-zone = ["us-east-2a", "us-east-2b", "us-east-2c"]
pub-sub-name = "subnet-public"
pri-subnet-count = 3
pri-cidr-block = ["10.16.128.0/20", "10.16.144.0/20", "10.16.160.0/20"]
pri-availability-zone = ["us-east-2a", "us-east-2b", "us-east-2c"]
pri-sub-name = "subnet-private"
public-rt-name = "public-route-table"
private-rt-name = "private-route-table"
eip-name = "elasticip-ngw"
ngw-name = "ngw"
eks-sg = "eks-sg"
ec2-sg = "ec2-sg"
# EKS
is-eks-cluster-enabled = true
cluster-version = "1.29"
cluster-name = "eks-cluster"
endpoint-private-access = true
endpoint-public-access = false
ondemand_instance_types = ["t3a.medium"]
spot_instance_types = ["c5a.large", "c5a.xlarge", "m5a.large", "m5a.xlarge", "c5.large", "m5.large", "t3a.large", "t3a.xlarge", "t3a.medium"]
desired_capacity_on_demand = "1"
min_capacity_on_demand = "1"
max_capacity_on_demand = "5"
desired_capacity_spot = "1"
min_capacity_spot = "1"
max_capacity_spot = "10"
addons = [
{
name = "vpc-cni",
version = "v1.18.1-eksbuild.1"
},
{
name = "coredns"
version = "v1.11.1-eksbuild.9"
},
{
name = "kube-proxy"
version = "v1.29.3-eksbuild.2"
},
{
name = "aws-ebs-csi-driver"
version = "v1.30.0-eksbuild.1"
}
# Add more addons as needed
]
# IAM
ec2-iam-role = "ec2-ssm-role"
ec2-iam-role-policy = "ec2-ssm-role-policy"
ec2-iam-instance-profile = "ec2-ssm-instance-profile"
# EC2
ec2-name = "eks-deploy-server"