Skip to content

Glossary: Terraform

lifecycle

Also written: lifecycle block

A block inside a resource holding rules for how Terraform treats it, such as `prevent_destroy`, `create_before_destroy`, `ignore_changes` and conditions.

Where the book teaches it

Related terms

prevent_destroycreate_before_destroyignore_changes