Skip to content

Commit 22013f7

Browse files
authored
Automatically fallback to darwin/amd64 for Terraform versions before 1.0.2 (#409)
Reference: https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/ GitHub hosted runners for `macos-latest` are automatically being upgraded to macOS 14 and arm64 architecture machines. Any workflows that are using the upgraded runner can return an error such as: ``` Error: Terraform version 0.12.* not available for darwin and arm64 ``` This adds special case logic to automatically fallback to darwin/amd64 when darwin/arm64 is detected and the version is below 1.0.2, which is the first version that had darwin/arm64 release assets. macOS should emulate and run the amd64 binaries until Apple or GitHub removes the emulation support.
1 parent a75f1a3 commit 22013f7

File tree

5 files changed

+9409
-9425
lines changed

5 files changed

+9409
-9425
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: ENHANCEMENTS
2+
body: Automatically fallback to darwin/amd64 for Terraform versions before 1.0.2 as
3+
releases for darwin/arm64 are not available
4+
time: 2024-04-22T16:45:29.36927-04:00
5+
custom:
6+
Issue: "409"

0 commit comments

Comments
 (0)