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

Cannot get --list to work #116

Open
drew9781 opened this issue Jul 8, 2019 · 4 comments
Open

Cannot get --list to work #116

drew9781 opened this issue Jul 8, 2019 · 4 comments

Comments

@drew9781
Copy link

drew9781 commented Jul 8, 2019

I'm struggling here. I'm not sure if I'm doing something wrong, but I can't get the command to work at all.
I'm using this with terraform 0.12.0

aenglema@ubuntu_template:~/terraform$ terraform-inventory --list
Usage: terraform-inventory [options] path
path: this is either a path to a state file or a folder from which `terraform commands` are valid

My terraform.tfstate file is in the same directory. Terraform show -json works.

@systembell
Copy link

I'm having the same issue on Terraform v0.12.2.

@astubbs
Copy link

astubbs commented Jul 16, 2019

Same issue. There's a bug in the code logic - the error message is incorrect it would seem. But my go-fu is not strong enough to read it..

@astubbs
Copy link

astubbs commented Jul 16, 2019

Oh - it's probably #113

@astubbs
Copy link

astubbs commented Jul 16, 2019

Fixed in #114 - check out that branch and try it - works for me.

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

No branches or pull requests

3 participants