Terraform CLI v1.1.2 released

Today we’ve released Terraform v1.1.2.

If you are using Terraform CLI v1.1.0 or v1.1.1, please upgrade to this new version as soon as possible.

Terraform CLI v1.1.0 and v1.1.1 both have a bug where a failure to construct the apply-time graph can cause Terraform to incorrectly report success and save an empty state, effectively “forgetting” all existing infrastructure.

Although configurations that already worked on previous releases should not encounter this problem, it’s possible that some incorrect future configuration changes would trigger this behavior during the apply step, requiring you to restore from a previous state snapshot or from a state backup.


  • config: Fix panic when using -target in combination with moved blocks within modules (#30189)
  • core: Fix condition which could lead to an empty state being written when there is a failure building the apply graph (#30199)