From 1a85de3cc677ad2dafc69ec8ae775deb58ed9520 Mon Sep 17 00:00:00 2001 From: Robert Slotte Date: Fri, 2 Feb 2024 15:39:29 +0000 Subject: [PATCH] fix(images): avoid wrong AMI selected for ubuntu jammy --- images/ubuntu-jammy-arm64/github_agent.ubuntu.pkr.hcl | 2 +- images/ubuntu-jammy/github_agent.ubuntu.pkr.hcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/images/ubuntu-jammy-arm64/github_agent.ubuntu.pkr.hcl b/images/ubuntu-jammy-arm64/github_agent.ubuntu.pkr.hcl index 1248b0c4fb..91e2d7f38e 100644 --- a/images/ubuntu-jammy-arm64/github_agent.ubuntu.pkr.hcl +++ b/images/ubuntu-jammy-arm64/github_agent.ubuntu.pkr.hcl @@ -106,7 +106,7 @@ source "amazon-ebs" "githubrunner" { source_ami_filter { filters = { - name = "*/ubuntu-jammy-22.04-arm64-server-*" + name = "*ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-arm64-server-*" root-device-type = "ebs" virtualization-type = "hvm" } diff --git a/images/ubuntu-jammy/github_agent.ubuntu.pkr.hcl b/images/ubuntu-jammy/github_agent.ubuntu.pkr.hcl index 9dba7e97c5..311bbc5b22 100644 --- a/images/ubuntu-jammy/github_agent.ubuntu.pkr.hcl +++ b/images/ubuntu-jammy/github_agent.ubuntu.pkr.hcl @@ -106,7 +106,7 @@ source "amazon-ebs" "githubrunner" { source_ami_filter { filters = { - name = "*/ubuntu-jammy-22.04-amd64-server-*" + name = "*ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*" root-device-type = "ebs" virtualization-type = "hvm" }