hashicorp / hashicorp/terraform-exec

Simplify ability to get state JSON from state affecting subcommands

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
enhancement upstream/terraform
Dominant language
Go
Stars
786
Forks
129
PR merge metrics
No merged PRs in 30d

Description

Here is the upstream issue to simplify this interaction: https://github.com/hashicorp/terraform/issues/25467

Ideally we would be able to do something like `terraform apply -state-out-json foo.json` and just read that file with the `terraform-json` module. We could then use this in the methods to return the state (ie. `Apply(...) (*tfjson.State, error)`)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.