Skip to content

Commit edabd9b

Browse files
authored
acc: fix install_terraform.py on aarch64 (#3632)
Noticed it does not work on Linux clusters.
1 parent 6d30f59 commit edabd9b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

acceptance/install_terraform.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
os_name = platform.system().lower()
2020

2121
arch = platform.machine().lower()
22-
arch = {"x86_64": "amd64"}.get(arch, arch)
22+
arch = {
23+
"x86_64": "amd64",
24+
"aarch64": "arm64",
25+
}.get(arch, arch)
2326
if os_name == "windows" and arch not in ("386", "amd64"):
2427
# terraform 1.5.5 only has builds for these two.
2528
arch = "amd64"

0 commit comments

Comments
 (0)