-
Notifications
You must be signed in to change notification settings - Fork 95
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
How to do when the state is stored in a backend ? #44
Comments
Hi @MichaelMure , thanks for raising this issue ! That's a good point to raise. Indeed, Terraform supports multiple backends (S3 included) but the goal of In order to solve your use-case: aws s3 cp s3://bucket/path/to/your/file.tfstate - | inframap generate --tfstate |
@MichaelMure we added your question to the FAQ in this PR (#46) https://github.com/cycloidio/inframap#does-inframap-support-terraform-backends- Thanks for your contribution ! 😉 |
thanks :) |
If using some other backend (such as the http backend) then an alternative approach is:
|
Thanks @purplepangolin I'm gonna add it to the documentation so it's also easily available for people to use :) BTW if you want you can drop the |
So we have another example for the users to use. Mentioned on #44 (comment)
So we have another example for the users to use. Mentioned on #44 (comment)
Is there a way to use this tool when the state is stored in a terraform backend like S3 ? There is no .tfstate file in that case.
Thanks :)
The text was updated successfully, but these errors were encountered: