A breaking change makes previously valid code, configuration, or interfaces require modification. In infrastructure modules, it can change variable names, required provider information, or behavior introduced by a provider upgrade. section 9.6.1
Common reasons to accept a breaking change include:
- Fixing insecure settings by changing behavior or default values. section 9.6.1
- Renaming variables to improve clarity or consistency. section 9.6.1
- Adapting a module to a provider release that removes deprecated features or requires additional information. section 9.6.1
- Adding functionality that cannot work without changing the existing interface. section 9.6.1
Renaming a module variable
If a module renames a variable, existing users must update their module configuration. Record the change in UPGRADE.md or CHANGELOG.md, group it with related major-version work when practical, and tag a new release after the changes are complete. section 9.6.1 section 9.6.3
Figure 9.2 Major release Git branching
Use the major-release branching diagram to relate breaking changes to parallel development, review, and merging into the main branch. section 9.6.3




