From f5b3875ca385c9c29d9bdd2d062ad5eef0cbcdbf Mon Sep 17 00:00:00 2001 From: "@arcaven" Date: Sat, 25 Feb 2023 22:50:48 -0600 Subject: [PATCH] filter ami such that latest does not return any of the new arm64 images, as geodesic and provider modules are not all arm64 so no one should be using arm64 yet; maybe this should become a parameter when as more arm64 support appears, but for now, and because it should not flip flop randomly, set it to x86_64 and anyone who choses to run arm64 will also want this set explicitly --- modules/spacelift-worker-pool/data.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/spacelift-worker-pool/data.tf b/modules/spacelift-worker-pool/data.tf index 7cf475a29..b069e0725 100644 --- a/modules/spacelift-worker-pool/data.tf +++ b/modules/spacelift-worker-pool/data.tf @@ -31,4 +31,9 @@ data "aws_ami" "spacelift" { name = "virtualization-type" values = ["hvm"] } + + filter { + name = "architecture" + values = ["x86_64"] + } }