How to import existing resources in Azure Cloud into Terraform | Terraform Import in Azure Cloud

preview_player
Показать описание

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.
Рекомендации по теме
Комментарии
Автор

I started working on this in my project and was looking for solutions and your video made it very easy for me to understand and apply this concept. Thank you for this!

satyajeetkumar
Автор

Sir I guess we can do it in different way because u created the same resources and tried to get the resources type and resource I'd but what will happen if are not having the same terraform script which is already deployed in some other way. Can we get the all resources type and I'd using az bash and power she'll command then run terraform import with resource I'd and type?

nishaminz
Автор

How to import azure cdn profile along with multiple cdn endpoints?

sudhirgoswami
Автор

can you please refer to me a link where terraform import is done in Azure pipelines?

muralis
Автор

Can we import resources without CLI, by using terraform cloud?

aditichadha
visit shbcf.ru