From 1a0d5a93eecef2940b2e0b1503b838c77ecd19af Mon Sep 17 00:00:00 2001 From: sylviamoss Date: Mon, 17 Aug 2020 17:58:22 +0200 Subject: [PATCH] fix max_attempts typo --- builder/amazon/common/state.go | 4 ++-- .../builder/amazon/common/AWSPollingConfig-not-required.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/builder/amazon/common/state.go b/builder/amazon/common/state.go index b7aefb366..113a36ab8 100644 --- a/builder/amazon/common/state.go +++ b/builder/amazon/common/state.go @@ -63,8 +63,8 @@ type StateChangeConf struct { type AWSPollingConfig struct { // Specifies the maximum number of attempts the waiter will check for resource state. // This value can also be set via the AWS_MAX_ATTEMPTS. - // If both option and environment variable are set, the max_attepmts will be considered over the AWS_MAX_ATTEMPTS. - // If none is set, defaults to AWS waiter default which is 40. + // If both option and environment variable are set, the max_attempts will be considered over the AWS_MAX_ATTEMPTS. + // If none is set, defaults to AWS waiter default which is 40 max_attempts. MaxAttempts int `mapstructure:"max_attempts" required:"false"` // Specifies the delay in seconds between attempts to check the resource state. // This value can also be set via the AWS_POLL_DELAY_SECONDS. diff --git a/website/pages/partials/builder/amazon/common/AWSPollingConfig-not-required.mdx b/website/pages/partials/builder/amazon/common/AWSPollingConfig-not-required.mdx index e228a5963..1462788e2 100644 --- a/website/pages/partials/builder/amazon/common/AWSPollingConfig-not-required.mdx +++ b/website/pages/partials/builder/amazon/common/AWSPollingConfig-not-required.mdx @@ -2,8 +2,8 @@ - `max_attempts` (int) - Specifies the maximum number of attempts the waiter will check for resource state. This value can also be set via the AWS_MAX_ATTEMPTS. - If both option and environment variable are set, the max_attepmts will be considered over the AWS_MAX_ATTEMPTS. - If none is set, defaults to AWS waiter default which is 40. + If both option and environment variable are set, the max_attempts will be considered over the AWS_MAX_ATTEMPTS. + If none is set, defaults to AWS waiter default which is 40 max_attempts. - `delay_seconds` (int) - Specifies the delay in seconds between attempts to check the resource state. This value can also be set via the AWS_POLL_DELAY_SECONDS.