fix max_attempts typo

This commit is contained in:
sylviamoss 2020-08-17 17:58:22 +02:00
parent 788dc32598
commit 1a0d5a93ee
2 changed files with 4 additions and 4 deletions

View File

@ -63,8 +63,8 @@ type StateChangeConf struct {
type AWSPollingConfig struct { type AWSPollingConfig struct {
// Specifies the maximum number of attempts the waiter will check for resource state. // Specifies the maximum number of attempts the waiter will check for resource state.
// This value can also be set via the AWS_MAX_ATTEMPTS. // 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 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. // If none is set, defaults to AWS waiter default which is 40 max_attempts.
MaxAttempts int `mapstructure:"max_attempts" required:"false"` MaxAttempts int `mapstructure:"max_attempts" required:"false"`
// Specifies the delay in seconds between attempts to check the resource state. // Specifies the delay in seconds between attempts to check the resource state.
// This value can also be set via the AWS_POLL_DELAY_SECONDS. // This value can also be set via the AWS_POLL_DELAY_SECONDS.

View File

@ -2,8 +2,8 @@
- `max_attempts` (int) - Specifies the maximum number of attempts the waiter will check for resource state. - `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. 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 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. 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. - `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. This value can also be set via the AWS_POLL_DELAY_SECONDS.