TFNFR35 - Reviewing Potential Breaking Changes
ID: TFNFR35 - Category: Code Style - Reviewing Potential Breaking Changes
Potential breaking(surprise) changes introduced by resource block
- Adding a new 
resourcewithoutcountorfor_eachfor conditional creation, or creating by default - Adding a new argument assignment with a value other than the default value provided by the provider’s schema
 - Adding a new nested block without making it 
dynamicor omitting it by default - Renaming a 
resourceblock without one or more correspondingmovedblocks - Change 
resource’scounttofor_each, or vice versa 
Terraform moved block could be your cure.
Potential breaking changes introduced by variable and output blocks
- Deleting(Renaming) a 
variable - Changing 
typein avariableblock - Changing the 
defaultvalue in avariableblock - Changing 
variable’snullabletofalse - Changing 
variable’ssensitivefromfalsetotrue - Adding a new 
variablewithoutdefault - Deleting an 
output - Changing an 
output’svalue - Changing an 
output’ssensitivevalue 
These changes do not necessarily trigger breaking changes, but they are very likely to, they MUST be reviewed with caution.