-
Notifications
You must be signed in to change notification settings - Fork 163
-
Notifications
You must be signed in to change notification settings - Fork 163
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
aws doesn't initialize for govcloud credentials #253
Comments
terracognita/aws/reader/connector.go Line 170 in 270ebba
Some accounts are region dependent (e.g. GovCloud). Validating against Europe won't work. |
@jkarmstr-seed Due to the months-long lack of reply, I'm going to assume the cycloidio team don't particularly care about this issue. I have since started working at a different company and gone back to using terraformer for extracting Terraform resources out of Govcloud environments. I suggest anyone else to do the same. |
Sorry for this huge delay, for some reason my notifications got mixed/lost for this issues. I've opened a PR with the change suggested by @jkarmstr-seed as it makes sense, we had that The PR is #265, for now I'll not close this issue as we do not own a GovCloud account and cannot test it, once the PR is merged you could test if that solved the issue 😄 |
Solved the authentication on the fg-253 branch
…________________________________
From: Francesc Gil ***@***.***>
Sent: Thursday, March 31, 2022 4:28 AM
To: cycloidio/terracognita ***@***.***>
Cc: Karl Armstrong ***@***.***>; Mention ***@***.***>
Subject: Re: [cycloidio/terracognita] aws doesn't initialize for govcloud credentials (Issue #253)
Sorry for this huge delay, for some reason my notifications got mixed/lost for this issues.
I've opened a PR with the change suggested by @jkarmstr-seed<https://github.com/jkarmstr-seed> as it makes sense, we had that defaultRegion as a leftover on another library we had that we exported the code to TerraCognita.
The PR is #265<#265>, for now I'll not close this issue as we do not own a GovCloud account and cannot test it, once the PR is merged you could test if that solved the issue 😄
—
Reply to this email directly, view it on GitHub<#253 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AP6ATL3IYXSBM2IV44T72Z3VCV44FANCNFSM5I7RJA3Q>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Perfect! then I'll close the issue and we'll release shortly :) Thanks you @jkarmstr-seed :) |
General information:
Describe the bug:
Using Govcloud credentials fails with the following error
I have used all combinations of command flags and environment variables to test if something would work, but it does not. To make sure my credentials were valid, I ran serveral
aws ...
commands, and they ran succesfully.As a control, I am able to connect to another account in
us-east-1
andterracognita
works for me there.Log message
Additional context
I tried looking through the code for anything that would break for Govcloud or regions like
us-gov-west-1
but I couldn't find anything. I suspect it's something special about the region that breaks the initializer.The text was updated successfully, but these errors were encountered: