Skip to main content

Showing tag results for Local Values

Posts

0 comments 0 reactions

OpenTofu Locals vs Variables: When to Use Each

Jagdish Kumawat

Input variables come from outside; local values are worked out inside the configuration. See both in a tiny OpenTofu example, and which one to use when.

  • DevOps
  • OpenTofu
0 comments 0 reactions

OpenTofu Tutorial — Part 5: Locals, Expressions and tofu console

Jagdish Kumawat

Part 5 builds the Bookshop’s book list from a variable with a local value, a heredoc template and a conditional, lists titles with for and splat expressions, and tries them in tofu console.

  • DevOps
  • OpenTofu