Today’s tech tip
Terraform 1.7 introduced the removed
block.
Just like using terraform rm
from the cli, it let’s you remove a resource from terraform state without destroying the corresponding infrastructure. The difference is, you can now perform any required state modifications, while still following the plan-apply workflow, letting you review the changes before you commit them to state.