You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background
some Terraform or OpenTofu command support -json flag so that they can output information in json format which can be understood or parsed by some program.
Describe the solution you'd like
add a field (e.g. named JSON) to Options and add -json args for those which support json output command
Describe alternatives you've considered
I also noticed that you have exported RunTerraformCommandE function so that we could wrap our own function to support -json flag for now.
Additional context tofu init support -json flag but terraform init not. So, if you planned to accept this feature request, you might need to consider of different implementation.
The text was updated successfully, but these errors were encountered:
Background
some Terraform or OpenTofu command support
-json
flag so that they can output information in json format which can be understood or parsed by some program.Describe the solution you'd like
add a field (e.g. named
JSON
) toOptions
and add-json
args for those which support json output commandDescribe alternatives you've considered
I also noticed that you have exported
RunTerraformCommandE
function so that we could wrap our own function to support-json
flag for now.Additional context
tofu init
support-json
flag butterraform init
not. So, if you planned to accept this feature request, you might need to consider of different implementation.The text was updated successfully, but these errors were encountered: