Skip to content

Support Terraform state files (tfstate) #28

@patrislav

Description

@patrislav

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions