hashicorp / terraform-exec

Terraform CLI commands via Go.
https://pkg.go.dev/github.com/hashicorp/terraform-exec
Mozilla Public License 2.0
684 stars 114 forks source link

Skip log lines on json output commands. #474

Open Lucasjuv opened 2 months ago

Lucasjuv commented 2 months ago

Fixes #473

Skips lines that don't start with '{' when parsing json outputs from commands. Unfortunately I couldn't get any backend to log without credentials, but this has been verified manually on a mother project that uses this project with a go mod replace directive.