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

Use terraform-json StateOutput for Output method return value #393

Open
prksu opened this issue May 17, 2023 · 0 comments
Open

Use terraform-json StateOutput for Output method return value #393

prksu opened this issue May 17, 2023 · 0 comments

Comments

@prksu
Copy link

prksu commented May 17, 2023

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

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

No branches or pull requests

1 participant