https://www.coachdevops.com/2022/07/h...
Let's say that you have created any resources in Azure Cloud by some other means(manually or using azure CLI) before you started using Terraform. You can import them under Terraform management instead of destroying and re-creating them from scratch. The terraform import command can be used to import existing resources.
This command currently can import only one resource at a time. This means you can't yet point Terraform import to an entire collection of resources such as azure resource group and import all the resources under that group.
Watch video How to import existing resources in Azure Cloud into Terraform | Terraform Import in Azure Cloud online without registration, duration hours minute second in high quality. This video was added by user DevOps Coach 17 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12,103 once and liked it 167 people.