-
Notifications
You must be signed in to change notification settings - Fork 111
/
al2_arm64.pkrvars.hcl
54 lines (49 loc) · 1.04 KB
/
al2_arm64.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
53
54
ami_name_prefix = "amazon-eks-arm64"
ami_type = "amazon-linux-2-arm64"
ami_description = "Amazon EKS Kubernetes arm64 AMI based on AmazonLinux2 OS"
instance_type = "c6g.large"
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",
]
}