forked from ViktorUJ/cks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.hcl
54 lines (51 loc) · 1.49 KB
/
env.hcl
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
locals {
questions_list = "https://github.com/ViktorUJ/cks/blob/master/tasks/cka/labs/08/README.MD"
solutions_scripts = "https://github.com/ViktorUJ/cks/blob/master/tasks/cka/labs/08/worker/files/solutions/1.MD"
solutions_video = "https://youtu.be/eFZQi6sy3SQ"
debug_output = "false"
region = "eu-north-1"
vpc_default_cidr = "10.10.0.0/16"
aws = "default"
prefix = "cka-task08"
tags = {
"env_name" = "cka-task07"
"env_type" = "dev"
"manage" = "terraform"
"cost_allocation" = "dev"
"owner" = "viktoruj@gmail.com"
}
k8_version = "1.31.0"
node_type = "spot"
runtime = "containerd" # docker , cri-o , containerd ( need test it )
cni = {
type = "cilium" #calico , cilium
disable_kube_proxy="false"
}
instance_type = "t4g.medium"
instance_type_worker = "t4g.small"
key_name = ""
ssh_password_enable = "true" # false | true
access_cidrs = ["0.0.0.0/0"] # "93.177.191.10/32" | "0.0.0.0/0"
ubuntu_version = "22.04"
ami_id = ""
# ubuntu : 20.04 LTS ami-06410fb0e71718398 22.04 LTS ami-00c70b245f5354c0a
root_volume = {
type = "gp3"
size = "10"
}
subnets = {
public = {
"pub1" = {
name = "k8s-1"
cidr = "10.10.1.0/24"
az = "eu-north-1a"
}
"pub2" = {
name = "k8s-2"
cidr = "10.10.2.0/24"
az = "eu-north-1b"
}
}
private = {}
}
}