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

New terraform env list command not working #12423

Closed
ashb opened this issue Mar 3, 2017 · 3 comments · Fixed by #12433
Closed

New terraform env list command not working #12423

ashb opened this issue Mar 3, 2017 · 3 comments · Fixed by #12433

Comments

@ashb
Copy link
Contributor

ashb commented Mar 3, 2017

Hi there,

Terraform Version

% terraform version
Terraform v0.9.0-dev (452f47ce8c4a4eb24d7e188287bdd73be67915d5+CHANGES)

Affected Resource(s)

% terraform env list .
Too many command line arguments. Configuration path expected.
% terraform env list
Too many command line arguments. Configuration path expected.
% terraform env list --help
Usage: terraform env list [DIR]

  List Terraform environments.

the env new subcommand seems to work

@jbardin
Copy link
Member

jbardin commented Mar 3, 2017

Hi @ashb,

That's rather unusual. Can you add the output with TF_LOG=trace?
Another shot in the dark, what shell are you using?

@ashb
Copy link
Contributor Author

ashb commented Mar 3, 2017

TF_LOG=trace terraform env list
2017/03/03 22:17:00 [INFO] Terraform version: 0.9.0 dev 452f47ce8c4a4eb24d7e188287bdd73be67915d5+CHANGES
2017/03/03 22:17:00 [INFO] Go runtime version: go1.8
2017/03/03 22:17:00 [INFO] CLI args: []string{"/Users/ash/.homebrew/Cellar/terraform/HEAD-452f47c/bin/terraform", "env", "list"}
2017/03/03 22:17:00 [DEBUG] Detected home directory from env var: /Users/ash
2017/03/03 22:17:00 [DEBUG] Detected home directory from env var: /Users/ash
2017/03/03 22:17:00 [DEBUG] Attempting to open CLI config file: /Users/ash/.terraformrc
2017/03/03 22:17:00 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/03/03 22:17:00 [DEBUG] Detected home directory from env var: /Users/ash
2017/03/03 22:17:00 [INFO] CLI command args: []string{"env", "list"}
Too many command line arguments. Configuration path expected.
2017/03/03 22:17:00 [DEBUG] plugin: waiting for all plugin processes to complete.

Normal shell: bash 4.4.0(1)-release (inside tmux 2.3 on the off chance that matters)

@ghost
Copy link

ghost commented Apr 15, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@hashicorp hashicorp locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants