Skip to content
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 API token in ~/.terraformrc #54

Closed
briskt opened this issue Dec 2, 2022 · 0 comments · Fixed by #77
Closed

Use API token in ~/.terraformrc #54

briskt opened this issue Dec 2, 2022 · 0 comments · Fixed by #77

Comments

@briskt
Copy link
Contributor

briskt commented Dec 2, 2022

In addition to looking for the API token in ATLAS_TOKEN environment variable, tfc-ops should look for a token in ~/.terraformrc as does the Terraform CLI. See Terraform docs.

Note that RunTFInit manipulates the environment so this may be difficult to do in a non-breaking way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant