Terraform 1.16 completes Actions lifecycles and brings imports into child modules

HashiCorp Terraform 1.16 adds lifecycle Actions that can run before or after a resource is destroyed and allows declarative import blocks inside child modules. The changes let teams keep cleanup tasks, such as taking a final database backup or removing a server from an inventory system, alongside the resource lifecycle. Previously, reusable modules could not contain their own import logic, which had to be managed in the root module. Both capabilities fit into Terraform’s standard plan-and-apply workflow.

AI-written summary, checked against the cited sources. How summaries work

Read at HashiCorp Blog

Release

Version
1.16
Released
Release notes
HashiCorp Blog