Writing and Using Modules: Input/Output Contracts, Registry Modules, Versioning and Dynamic Sources
A module is a repeated group of resources that offers a contract through its variables and outputs; moving resources into a module means deleting and recreating them unless you use moved blocks. We move the API into a bookstore-service module and the Web App into bookstore-webapp, see why prevent_destroy did not protect anything, download and inspect an Azure Verified Module, and try version pinning, const variables in module sources and deprecated inputs and outputs from Terraform 1.15.
14 Nov 2026
·
13 min
·
16