From 83dcbf75307d132ce63b30e6cbdde272f05a9aa8 Mon Sep 17 00:00:00 2001 From: jayfranco999 Date: Thu, 3 Oct 2024 12:27:36 +0530 Subject: [PATCH] fixup Signed-off-by: jayfranco999 --- .gitignore | 1 - locals.pkr.hcl | 4 ++-- main.pkr.hcl | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index d71d81656..a9c38e130 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,3 @@ manifest.json creds.json vars.json -AWSCLIV2.pkg \ No newline at end of file diff --git a/locals.pkr.hcl b/locals.pkr.hcl index dd225e2a2..9500ffe05 100644 --- a/locals.pkr.hcl +++ b/locals.pkr.hcl @@ -6,9 +6,9 @@ locals { unique_image_name = format("%s-%s", local.image_name, local.now_unix_timestamp) # List available SKUs with the command `az vm image list-skus --offer 0001-com-ubuntu-server-jammy --location eastus --publisher canonical --output table` aws_spot_instance_types = { - # 4 vCPU x86 / 16 GB / $0.1504 - https://aws.amazon.com/fr/ec2/instance-types/t3/#Product_Details + # 4 vCPU x86 / 16 GB / $0.1670 - https://aws.amazon.com/en/ec2/instance-types/t3/#Product_Details "amd64" = ["t3.xlarge", "t3a.xlarge", "t2.xlarge", "m6a.xlarge"] - # 4 vCPU ARM64 (Gravitnb)/ 16 GB / $0.1344 - https://aws.amazon.com/fr/ec2/instance-types/t4/#Product_Details + # 4 vCPU ARM64 (Gravitnb)/ 16 GB / $0.1344 - https://aws.amazon.com/en/ec2/instance-types/t4/#Product_Details "arm64" = ["t4g.xlarge", "m7g.xlarge"] } az_instance_image_sku = { diff --git a/main.pkr.hcl b/main.pkr.hcl index aaecd1361..60145a1b9 100644 --- a/main.pkr.hcl +++ b/main.pkr.hcl @@ -2,8 +2,8 @@ packer { required_version = ">= 1.7.2, < 2" required_plugins { amazon = { - version = "1.2.2" - source = "github.com/hashicorp/amazon" + version = "1.3.3" + source = "github.com/hashicorp/packer-plugin-amazon" } windows-update = { version = "0.16.8"