From d1c860a3ebc38debf6d9393ba6458f9093d5c0f6 Mon Sep 17 00:00:00 2001 From: Aaron Jackson Date: Fri, 1 Dec 2023 13:07:20 +0000 Subject: [PATCH] Rename windows2019 to more generic windows --- templates/windows.pkr.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/windows.pkr.hcl b/templates/windows.pkr.hcl index 052b331..315e6bd 100644 --- a/templates/windows.pkr.hcl +++ b/templates/windows.pkr.hcl @@ -18,7 +18,7 @@ locals { } # https://www.packer.io/docs/builders/amazon/ebs -source "amazon-ebs" "windows2019" { +source "amazon-ebs" "windows" { ami_name = "${local.ami_name}" instance_type = "{{ instance.type }}" region = "${var.region}" @@ -64,7 +64,7 @@ source "amazon-ebs" "windows2019" { # https://www.packer.io/docs/provisioners build { - sources = ["source.amazon-ebs.windows2019"] + sources = ["source.amazon-ebs.windows"] provisioner "powershell" { inline = [