diff --git a/builder/amazon/common/run_config.go b/builder/amazon/common/run_config.go index 932e416ad..3e57d3a57 100644 --- a/builder/amazon/common/run_config.go +++ b/builder/amazon/common/run_config.go @@ -548,10 +548,6 @@ func (c *RunConfig) Prepare(ctx *interpolate.Context) []error { msg := fmt.Errorf(`no iam_instance_profile defined; session_manager connectivity requires a valid instance profile with AmazonSSMManagedInstanceCore permissions. Alternatively a temporary_iam_instance_profile_policy_document can be used.`) errs = append(errs, msg) } - - if c.PauseBeforeSSM == 0 { - c.PauseBeforeSSM = 10 * time.Second - } } if c.Comm.SSHKeyPairName != "" {