Show output values terraform
Print all outputs as JSON; useful for pipeline scripting
terraform output -json
more terraform
all 43 commands →
Destroy specific resource
terraform destroy -target=module.vpc.aws_vpc.main
Taint resource (force replace)
terraform taint module.eks.aws_instance.node
Remove resource from state
terraform state rm module.path.resource_type.name
Refresh state
terraform refresh -var-file=prod.tfvars
Graph dependency tree
terraform graph | dot -Tsvg > graph.svg