From f93a3add771e3b6e3d7d5411146cfe2164d1b0ca Mon Sep 17 00:00:00 2001 From: gregory hendrickson Date: Tue, 21 Nov 2023 15:59:27 -0800 Subject: [PATCH] ubuntu 20.04 official west-1 ami built with packer ``` --- ubuntu.pkr.hcl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ubuntu.pkr.hcl b/ubuntu.pkr.hcl index af67c23..6b52feb 100644 --- a/ubuntu.pkr.hcl +++ b/ubuntu.pkr.hcl @@ -1,16 +1,17 @@ packer { - required_version = ">= 0.0.2" + required_version = ">= 1.6.6" } - source "amazon-ebs" "ubuntu" { - ami_name = "test-custom-ubuntu20.04-ami" +source "amazon-ebs" "ubuntu" { + ami_name = "test-custom-ubuntu20.04-ami-{{timestamp}}" instance_type = "t2.micro" region = "us-west-1" ssh_username = "ubuntu" - # 22.04 "ami-0cbd40f694b804622" # 20.04 "ami-0da7657fe73215c0c" + # 20.04 "ami-0da7657fe73215c0c" source_ami = "ami-0da7657fe73215c0c" temporary_key_pair_name = "packer_ubuntu" - temporary_key_pair_type = "ed25519" + temporary_key_pair_type = "rsa" + } build {