What's New in Terraform 0.12?
summary
Terraform 0.12 merges HCL and the interpolation language into a single new HCL2, delivering first-class expressions, dynamic blocks and a generalized splat operator so modules can return whole resources and tags are generated from lists. It adds rich nested types (maps of lists, lists of maps), lazy evaluation to avoid count/index failures, much clearer error messages with file/line/snippet, and tooling (alpha4 available) to automatically upgrade old configs after roughly 12 months of development.
AI-written summary · about
chapters (13)
- 0:00Introduction to Terraform 0.12
- 3:54Why Terraform 0.12 was needed
- 5:37HCL 2.0 language changes
- 7:05First-class expressions explained
- 8:56Rich value types in variables
- 11:32Module output improvements
- 13:15Better error messages
- 15:33New for expressions
- 17:24Dynamic blocks for tags
- 19:19Splat operator enhancements
- 20:44Impact of Terraform 0.12 changes
- 21:50Automated configuration upgrade
- 22:32Closing remarks and thanks
related talks
30mVersions: Terraform, Providers, & Modules; Oh My!
34mUnlocking the Latest Innovations in Terraform on Azure
44mHashiConf Europe 2022 Day 1 Keynote
01h 20mTerraform Deep Dive
18mThe Path to Modern Infrastructure Automation [Abridged]
25mThe Path to Modern Infrastructure Automation
09mClosing Session
35mWhat’s new in Terraform for Azure?
