templates/packer: reasonable aws_polling limits for rhel AWS builds

This commit is contained in:
Diaa Sami 2022-09-08 13:09:35 +02:00 committed by Ondřej Budai
parent 46d36a0e73
commit 819a63e50e

View file

@ -32,6 +32,10 @@ build {
source_ami = "ami-03debf3ebf61b20cd"
ssh_username = "ec2-user"
instance_type = "c6a.large"
aws_polling {
delay_seconds = 10
max_attempts = 60
}
# Set a name for the resulting AMI.
ami_name = "${var.image_name}"
@ -64,7 +68,7 @@ build {
instance_type = "c6g.large"
aws_polling {
delay_seconds = 10
max_attempts = 50
max_attempts = 60
}
# Set a name for the resulting AMI.