Skip to main content
RunBook Academy

← All break/fix scenarios in Terraform

advancedterraform-provider~30 min

Provider Bug Replaces Everything on Minor Upgrade

Reported symptoms

  • A provider minor upgrade was applied
  • The plan proposes to replace every resource
  • The replacement is for an attribute that should not trigger replacement

Evidence

  • · The provider release notes
  • · The plan output
  • · The attribute that triggers replacement
Diagnosis and resolutionclick to reveal

Root cause

A provider bug introduced a new default or removed an attribute. The change causes every resource to be marked for replacement. The fix is a provider patch or pin to a working version.

Remediation

1. Do not apply. 2. Pin the provider to the previous version. 3. Report the bug. 4. Wait for the patch. 5. Re-plan and apply.

Verification

The provider is pinned, the plan is empty after the patch, and the incident is documented.

Prevention

1. Pin provider versions. 2. Test provider upgrades in development. 3. Read release notes before upgrade.

Provider Bug Replaces Everything on Minor Upgrade

A provider bug introduced a new default or removed an attribute. The change causes every resource to be marked for replacement. The fix is a provider patch or pin to a working version.