From 709b625763ba5fb26c89ebe7270ae4ae5e773df7 Mon Sep 17 00:00:00 2001 From: Shubham Krishna Date: Mon, 18 Mar 2024 12:13:14 +0100 Subject: [PATCH] Fix/ami authorized keys (#517) * fix(aws-ami-creation): remove authorized_ssh_keys so that ami can be submitted to AWS marketplace --- infrastructure/ami/hcl2-files/sources.pkr.hcl | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure/ami/hcl2-files/sources.pkr.hcl b/infrastructure/ami/hcl2-files/sources.pkr.hcl index fe3d5c22b..c66c8d055 100644 --- a/infrastructure/ami/hcl2-files/sources.pkr.hcl +++ b/infrastructure/ami/hcl2-files/sources.pkr.hcl @@ -4,6 +4,7 @@ source "amazon-ebs" "ubuntu" { region = var.region source_ami = var.source_ami ssh_username = var.ssh_username + ssh_clear_authorized_keys = true launch_block_device_mappings { device_name = "/dev/sda1" volume_size = 512