Terraform 1 · Variables, targets and outputs
Read one output as a plain value
Print a single output without quotes, handy in scripts.
terraform output -raw db_endpoint
Official Terraform 1 documentation
More variables, targets and outputs commands
- Set a variable
- Use a variable file
- Apply a single resource
- Force a resource to be recreated
- Show outputs
- Open an expression console
All variables, targets and outputs commands · Terraform 1 cheatsheet