org-formation/org-formation-cli

RegionDisabledException when creating a new account

yannickvr opened this issue · 1 comments

Subject of the issue

When creating new AWS accounts sometimes a few services are not active immediately. See example below.

Your environment

All latest

Steps to reproduce

Create an AWS account and hope they're busy

Expected behaviour

OFN retries n-times before erroring out

Actual behaviour

ERROR: failed executing task: Create OC::ORG::Account MYEXAMPLEACCOUNT RegionDisabledException: STS is not activated in this region for account:01234567890. Your account administrator can activate STS in this region using the IAM Console.
ERROR: Task OrganizationUpdate execute failed. reason: STS is not activated in this region for account:01234567890. Your account administrator can activate STS in this region using the IAM Console.
STS is not activated in this region for account:01234567890. Your account administrator can activate STS in this region using the IAM Console. (use option --print-stack to print stack)