Show outputs
Print all outputs as compact JSON
terraform output -json | jq 'to_entries[] | {(.key): .value.value}'
More terraform commands
-
terraform destroy -target='aws_instance.web' -auto-approveDestroy a single resource without full plan
-
terraform force-unlock <lock-id>Release a stuck state lock after a failed apply
-
terraform workspace new staging && terraform workspace select stagingCreate and activate a Terraform workspace
-
terraform graph | dot -Tsvg > graph.svg && open graph.svgRender resource dependency graph as SVG (requires graphviz)
-
terraform providers lock -platform=linux_amd64 -platform=darwin_arm64Lock provider versions for multiple platforms in .terraform.lock.hcl