-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use terraform cloud API token #6
Comments
Hi Kief, Thanks for trying out the image. If terraform does not define an environment variable that could be passed from outside of docker then Having said that, the most dojo way is to make the image support organisation-specific credentials distribution tool. The point is to make usage of the image as straightforward as possible for both users and CI agents, while keeping a good level of isolation from your local laptop setup. That means there shouldn't be additional options passed to dojo (neither via Dojofile or via CLI). It also means, you probably want to use this image as a starting point, fork it and customise rather than use it directly. You can also have a look at secrets considerations here. The ideal setup is: when you run In this particular image, above approach could mean either:
There are caveats to point 3. though:
I'm happy to discuss this further. |
Howdy,
I'm using Terraform cloud as a remote backend, and need a way to authenticate. I don't see an obvious way to do it out of the box, is there something I'm missing?
It seems like I'll need to use an API token. Doesn't look like I'll be able to pass it in an environment variable. Potentially it could go into the .terraformrc file, but I don't see a way to inject that in.
What is the best solution that fits with the "dojo way"?
The text was updated successfully, but these errors were encountered: