Skip to content

Commit

Permalink
Reorder data blocks to match order of source blocks
Browse files Browse the repository at this point in the history
Co-authored-by: Nick <[email protected]>
  • Loading branch information
jsf9k and mcdonnnj committed Jul 11, 2024
1 parent 0863f68 commit c08398b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/packer.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ variable "skip_create_ami" {
type = bool
}

data "amazon-ami" "debian_bookworm_x86_64" {
data "amazon-ami" "debian_bookworm_arm64" {
filters = {
architecture = "x86_64"
name = "debian-12-amd64-*"
architecture = "arm64"
name = "debian-12-arm64-*"
root-device-type = "ebs"
virtualization-type = "hvm"
}
Expand All @@ -75,10 +75,10 @@ data "amazon-ami" "debian_bookworm_x86_64" {
region = var.build_region
}

data "amazon-ami" "debian_bookworm_arm64" {
data "amazon-ami" "debian_bookworm_x86_64" {
filters = {
architecture = "arm64"
name = "debian-12-arm64-*"
architecture = "x86_64"
name = "debian-12-amd64-*"
root-device-type = "ebs"
virtualization-type = "hvm"
}
Expand Down

0 comments on commit c08398b

Please sign in to comment.