From 81a5ff1bf615338845a5c768c18b899159ee5e10 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 13 Dec 2022 15:20:41 +0100 Subject: [PATCH] templates/packer: triple aws polling attempts AMIs can take a long time to get ready. --- templates/packer/worker.pkr.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/packer/worker.pkr.hcl b/templates/packer/worker.pkr.hcl index 77f34ec35..5f3c4e61d 100644 --- a/templates/packer/worker.pkr.hcl +++ b/templates/packer/worker.pkr.hcl @@ -34,7 +34,7 @@ build { instance_type = "c6a.large" aws_polling { delay_seconds = 20 - max_attempts = 60 + max_attempts = 180 } # Set a name for the resulting AMI. @@ -68,7 +68,7 @@ build { instance_type = "c6g.large" aws_polling { delay_seconds = 20 - max_attempts = 60 + max_attempts = 180 } # Set a name for the resulting AMI.