From 02bfac118f0ae1517c805d4c3c3e3915d621b666 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Tue, 9 Oct 2018 13:08:42 -0700 Subject: [PATCH] default wait time for amazon import to one hour. --- builder/amazon/common/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/amazon/common/state.go b/builder/amazon/common/state.go index 3a78426ce..84adea957 100644 --- a/builder/amazon/common/state.go +++ b/builder/amazon/common/state.go @@ -208,7 +208,7 @@ func WaitForVolumeToBeDetached(c *ec2.EC2, ctx aws.Context, input *ec2.DescribeV func WaitForImageToBeImported(c *ec2.EC2, ctx aws.Context, input *ec2.DescribeImportImageTasksInput, opts ...request.WaiterOption) error { w := request.Waiter{ Name: "DescribeImages", - MaxAttempts: 300, + MaxAttempts: 720, Delay: request.ConstantWaiterDelay(5 * time.Second), Acceptors: []request.WaiterAcceptor{ {