2020-10-27 02:15:36 +01:00
|
|
|
---
|
|
|
|
layout: "language"
|
|
|
|
page_title: "Variables and Outputs"
|
2021-07-19 18:11:10 +02:00
|
|
|
description: "An overview of input variables, output values, and local values in Terraform language."
|
2020-10-27 02:15:36 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
# Variables and Outputs
|
|
|
|
|
|
|
|
The Terraform language includes a few kinds of blocks for requesting or
|
|
|
|
publishing named values.
|
|
|
|
|
2021-01-15 23:13:53 +01:00
|
|
|
- [Input Variables](/docs/language/values/variables.html) serve as parameters for
|
2020-10-27 02:15:36 +01:00
|
|
|
a Terraform module, so users can customize behavior without editing the source.
|
|
|
|
|
2021-01-15 23:13:53 +01:00
|
|
|
- [Output Values](/docs/language/values/outputs.html) are like return values for a
|
2020-10-27 02:15:36 +01:00
|
|
|
Terraform module.
|
|
|
|
|
2021-01-15 23:13:53 +01:00
|
|
|
- [Local Values](/docs/language/values/locals.html) are a convenience feature for
|
2020-10-27 02:15:36 +01:00
|
|
|
assigning a short name to an expression.
|