Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 76be94b

Browse files
authored
fix(images): avoid wrong AMI could be selected for ubuntu focal (#2214)
* Changed the source_ami_filter for ubuntu focal With the previous filter you could also get following ami: - ubuntu-eks/k8s_1.18/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-* We are looking specifically for this type: - ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-* Which is unintended, as far as I understand. * another_commit * packer fmt
1 parent 52f01b6 commit 76be94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: images/ubuntu-focal/github_agent.ubuntu.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ source "amazon-ebs" "githubrunner" {
8888

8989
source_ami_filter {
9090
filters = {
91-
name = "*/ubuntu-focal-20.04-amd64-server-*"
91+
name = "*ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"
9292
root-device-type = "ebs"
9393
virtualization-type = "hvm"
9494
}

0 commit comments

Comments
 (0)