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

Support Terraform state files (tfstate) #28

Open
patrislav opened this issue Mar 29, 2021 · 0 comments
Open

Support Terraform state files (tfstate) #28

patrislav opened this issue Mar 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@patrislav
Copy link
Contributor

The TFState files contain all of the information we need to perform cost estimation. There's no reason why we shouldn't be able to load it into a cost.State.

To do this, we could add a new function in the terraform package to ExtractQueriesFromStatefile (or similar) that would return []query.Resource. These would be then used in the same way as currently for the plans.

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

No branches or pull requests

1 participant