Skip to content

Commit

Permalink
acctest: fix datasource's image name
Browse files Browse the repository at this point in the history
As already committed on main, this fixes one acceptance test before
releasing v1.9.5 so we make sure tests are working.
  • Loading branch information
lbajolet-hashicorp committed Dec 4, 2023
1 parent ac07636 commit 7f2c5a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packer {

data "amazon-ami" "test" {
filters = {
name = "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*"
name = "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"
root-device-type = "ebs"
virtualization-type = "hvm"
}
Expand All @@ -25,6 +25,7 @@ source "amazon-ebs" "basic-example" {
communicator = "ssh"
instance_type = "t2.micro"
ssh_username = "ubuntu"
skip_create_ami = true
}

build {
Expand Down

0 comments on commit 7f2c5a8

Please sign in to comment.