-
Notifications
You must be signed in to change notification settings - Fork 0
/
images.tf
73 lines (72 loc) · 2.18 KB
/
images.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
70
71
72
73
# Azure Aarch64 Images
locals {
os_images = {
rockylinux8 = {
os_image = "rocky-linux-8-optimized-gcp-arm64"
default_os_user = "rockylinux"
startup_script = file("${local.startup_script_template_file}")
}
rockylinux9 = {
os_image = "rocky-linux-9-arm64"
default_os_user = "rockylinux"
startup_script = file("${local.startup_script_template_file}")
}
debian11 = {
os_image = "debian-11-arm64"
default_os_user = "debian"
startup_script = file("${local.startup_script_template_file}")
}
debian12 = {
os_image = "debian-12-arm64"
default_os_user = "debian"
startup_script = file("${local.startup_script_template_file}")
}
fedoracoreos = {
os_image = "fedora-coreos-stable-arm64"
default_os_user = "core"
startup_script = null
}
ubuntu1804 = {
os_image = "ubuntu-1804-lts-arm64"
default_os_user = "ubuntu"
startup_script = null
}
ubuntu2004 = {
os_image = "ubuntu-2004-lts-arm64"
default_os_user = "ubuntu"
startup_script = null
}
ubuntu2204 = {
os_image = "ubuntu-2204-lts-arm64"
default_os_user = "ubuntu"
startup_script = null
}
ubuntu2404 = {
os_image = "ubuntu-2404-lts-arm64"
default_os_user = "ubuntu"
startup_script = null
}
opensuse = {
os_image = "opensuse-leap-arm64"
default_os_user = "opensuse"
startup_script = null
}
sles15 = {
os_image = "sles-15-arm64"
default_os_user = "suse"
startup_script = null
}
}
}
data "google_compute_image" fedora_coreos_stable {
family = "fedora-coreos-stable-arm64"
project = "fedora-coreos-cloud"
}
data "google_compute_image" fedora_coreos_testing {
family = "fedora-coreos-testing-arm64"
project = "fedora-coreos-cloud"
}
data "google_compute_image" fedora_coreos_next {
family = "fedora-coreos-next-arm64"
project = "fedora-coreos-cloud"
}