Skip to main content

Variables and Outputs

The OpenTofu language includes a few kinds of blocks for requesting or publishing named values.

  • Input Variables serve as parameters for a module, so users can customize behavior without editing the source.

  • Output Values are like return values for a module.

  • Local Values are a convenience feature for assigning a short name to an expression.