diff --git a/atst/domain/csp/cloud.py b/atst/domain/csp/cloud.py index 88a16400..06b9b430 100644 --- a/atst/domain/csp/cloud.py +++ b/atst/domain/csp/cloud.py @@ -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",