-
Notifications
You must be signed in to change notification settings - Fork 109
/
al2_amd64.pkrvars.hcl
52 lines (47 loc) · 983 Bytes
/
al2_amd64.pkrvars.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
instance_type = "c6i.large"
ami_description = "Amazon EKS Kubernetes AMI based on AmazonLinux2 OS"
ami_block_device_mappings = [
{
device_name = "/dev/xvda"
volume_size = 10
},
]
launch_block_device_mappings = [
{
device_name = "/dev/xvda"
volume_size = 10
},
{
device_name = "/dev/xvdb"
volume_size = 64
},
]
shell_provisioner1 = {
expect_disconnect = true
scripts = [
"scripts/update.sh"
]
}
shell_provisioner2 = {
expect_disconnect = true
// Pass in values below if enabling proxy support
environment_vars = [
// "HTTP_PROXY=xxx",
// "HTTPS_PROXY=xxx",
// "NO_PROXY=xxx",
]
scripts = [
"scripts/partition-disks.sh",
"scripts/configure-proxy.sh",
"scripts/configure-containers.sh",
]
}
shell_provisioner3 = {
expect_disconnect = true
scripts = [
"scripts/cis-benchmark.sh",
"scripts/cis-eks.sh",
"scripts/cleanup.sh",
"scripts/cis-benchmark-tmpmount.sh",
]
}