How can I determine if I have a valid token to run terraform output, for example, against a workspace on app.terraform.io? For scripting purposes it would be useful to test if I am logged in, then initiate a terraform login as needed.
1 Like
I’d accept a terraform login --noRefresh that reuses the current login if it’s still valid. ![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.