terraform-exec icon indicating copy to clipboard operation
terraform-exec copied to clipboard

Use terraform-json StateOutput for Output method return value

Open prksu opened this issue 1 year ago • 0 comments

Currently, the Output method terraform output -json returns a map with its own type value i.e. OutputMeta

https://github.com/hashicorp/terraform-exec/blob/3fe5e310fd57434fdb99157c26d6dd1241c2b618/tfexec/output.go#LL39C73-L39C94

according to the project description, terraform-exec return value should use the data type defined in terraform-json which has the fit type for this case i.e. StateOutput

prksu avatar May 17 '23 21:05 prksu