From 33a4c2e13b0b2bd81113ec38ba17222e4d571ee1 Mon Sep 17 00:00:00 2001 From: Richard Owen Date: Fri, 24 Feb 2017 11:08:17 +0000 Subject: [PATCH] Change EC2 WindowsPasswordTimeout to 20 minutes 10 minutes is often exceeded when using a custom source AMI which has been sysprepped. --- builder/amazon/common/run_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/amazon/common/run_config.go b/builder/amazon/common/run_config.go index 60124db16..815583245 100644 --- a/builder/amazon/common/run_config.go +++ b/builder/amazon/common/run_config.go @@ -66,7 +66,7 @@ func (c *RunConfig) Prepare(ctx *interpolate.Context) []error { } if c.WindowsPasswordTimeout == 0 { - c.WindowsPasswordTimeout = 10 * time.Minute + c.WindowsPasswordTimeout = 20 * time.Minute } if c.RunTags == nil {