Pull out a constant
This commit is contained in:
parent
cc3de11e54
commit
10aa1c9bff
@ -472,6 +472,7 @@ class AWSCloudProvider(CloudProviderInterface):
|
||||
"description": "View billing information.",
|
||||
}
|
||||
]
|
||||
MAX_CREATE_ACCOUNT_ATTEMPTS = 10
|
||||
|
||||
def __init__(self, config, boto3=None):
|
||||
self.config = config
|
||||
@ -516,7 +517,7 @@ class AWSCloudProvider(CloudProviderInterface):
|
||||
"AccountCreated": {
|
||||
"operation": "DescribeCreateAccountStatus",
|
||||
"delay": 20,
|
||||
"maxAttempts": 10,
|
||||
"maxAttempts": self.MAX_CREATE_ACCOUNT_ATTEMPTS,
|
||||
"acceptors": [
|
||||
{
|
||||
"matcher": "path",
|
||||
|
Loading…
x
Reference in New Issue
Block a user