-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues in a new region #97
Comments
The cli should use the list of known regions to log a warning (in case someone misspelled a region) - no more. I'll add the region regardless, thanks for pointing this out. As AWS Services gets bootstrapped when creating a new account, during the bootstrapping process there is a number of errors that get thrown. there is a retry and wait period that should fix this, apparently it did not. What I would be interested in is to see whether there are CloudFormation stacks that have failed or are stuck updating. I might also be that retrying this once more later on could solve the issue. maybe there was a glitch on the AWS side of things? thanks |
I waited ~18 hours and tried again with the same result, but, that STS tokens from the global endpoint don't work in
Following the guidance from that AWS doc and enabling all regions for STS tokens meant I could now:
and deploy my org-formation:
Thanks for the hint @OlafConijn! |
After applying the workaround described in org-formation/org-formation-cli#292, I am now running into:
This occurs for every account except for my root/management account. Looking at the SCPs in the AWS Organization I can see two: DenyLargeEC2Instances and DenyUnsupportedRegions which has the contents: {
"Version": "2012-10-17",
"Statement": [
{
"Condition": {
"StringNotEquals": {
"aws:RequestedRegion": [
"ap-southeast-1",
"ap-southeast-2",
"us-east-1"
]
}
},
"Resource": "*",
"Effect": "Deny",
"NotAction": [
"acm:*",
"budgets:*",
"chatbot:*",
"cloudfront:*",
"iam:*",
"sts:*",
"kms:*",
"route53:*",
"route53domains:*",
"route53resolver:*",
"organizations:*",
"support:*",
"waf:*",
"wafv2:*"
],
"Sid": "DenyUnsupportedRegions"
}
]
} Notably it does not deny Do you have any tips for diagnosing this? |
right ~ I think the order of these tasks need to be changed in the reference. indeed.
looking forward to hear whether that got you unstuck. I think this is a great gotcha, will make sure it'll get fixed in the reference project. |
Success!
So I guess one this NoDefaultVpcRp provider is relying on one of the resources described in the |
I've also encountered the error when trying to register the
As part of my testing, I've managed to install the resource provider using AWS CLI, so the problem appears to be OFN. If I understand the cause correctly, it's because OFN is trying to use the global STS endpoint ( Is there a plan to make OFN use regional STS endpoints or should we rely on the workaround of manually setting the version of the global endpoint token to |
I'm trying to set up our organization to work in
af-south-1
, a relatively new region, but org-formation times-out and fails while registeringNoDefaultVpcRp
:I see that
af-south-1
is not a 'known' region, but do any of these community resource providers depend on knowing the regions? It didn't seem likeNoDefaultVpcRp
does. Do you have any tips for investigating this further?The text was updated successfully, but these errors were encountered: