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

No output with Release 0.6.1 or 0.7pre with Terraform 0.10.8 local state file #79

Open
Routhinator opened this issue Nov 17, 2017 · 4 comments

Comments

@Routhinator
Copy link

Trying to make use of this module but no matter how I try I get 0 hosts in the output.

# With 0.7pre

TF_STATE=terraform.tfstate ./.terraform/plugins/linux_amd64/terraform-in
ventory -list
{"all":{"hosts":null,"vars":{}}}

# With 0.6.1
TF_STATE=/usr/local/terraform/terraform.tfstate ./.terraform/plugins/lin
ux_amd64/terraform-inventory -list
{}
@Routhinator
Copy link
Author

This does work with VMWare right?

@adammck
Copy link
Owner

adammck commented Nov 17, 2017

Yes, VMWare is supported. Could you send a gist with a redacted tfstate?

@geri4
Copy link

geri4 commented Nov 24, 2017

I have the same problem.
terraform-inventory: 0.6.1
terraform: 0.11.0
tfstate: https://gist.github.com/geri4/b7fbd6bd2168e01ecf246cc59a352ef8

@adammck
Copy link
Owner

adammck commented Jan 24, 2018

I believe that this is solved by #84. Can @Routhinator or @geri4 please verify?

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

No branches or pull requests

3 participants