Ravi Sir's Cards › Chapter 37: Terraform Import Moved and Removed Blocks
How do you bring a resource created by hand under Terraform?
How do you bring a resource created by hand under Terraform? Use an import block: give the resource address (to) and the real cloud ID (id). Run plan with -generate-config-out to let Terraform write the code, review it, then apply.

Lesson: 37.1 import block — adopt a resource built by hand · मराठी card