Ravi Sir's Cards › Chapter 37: Terraform Import Moved and Removed Blocks
How do you stop Terraform managing a resource but keep it running?
How do you stop Terraform managing a resource but keep it running? Delete the resource block and add a removed block with lifecycle { destroy = false }. Terraform forgets it from state and leaves the real resource alone.

Lesson: 37.3 removed block — stop managing without deleting · मराठी card