How to Import Existing Azure Resources Into Terraform Super Easy!!

preview_player
Показать описание
Do you have a cloud environment that needs to import existing azure resources into terraform? This video goes through a simple step by step process on how to do that a safe way.

Once you are able to import your existing azure resources into terraform, you will be able to automate how you create, delete and update your cloud infrastructure.

This video goes through how to import and azure resource group and an azure virtual network. Drop a comment below if you have questions on other imports.

ABOUT OUR CHANNEL
My channel covers various topics about networking, automation and cloud technologies . We cover lots of cool stuff such as cisco, terraform, aws, firewalls, security and more
Check out my channel here:
Don’t forget to subscribe!

CHECK OUT MY OTHER VIDEOS on Terraform Here:

FIND MY BLOG AT

GET IN TOUCH
Рекомендации по теме
Комментарии
Автор

Awesome LetmeTechYou.. I was trying Azure Terraffy which wasn't working due to various unknown reasons. But by doing this, Terraform itself becomes a learning process.

ramasubramanianv
Автор

This video helped me solving import problem in my org. I want to appreciate you.

mirzashahnawaz
Автор

Awesome Video and exactly what I wanted to know. You are awesome.

xcode
Автор

Thank you Kevin great stuff! . perhaps can use both tools - aztfexport to create the exported tf config, refactor the code and then run terraform import .. should help speed up the process if there are lots of resources to import... will give this a try ..

Southpaw
Автор

Goddd i wish i would have seen this video laat week i had an entire hub and spoke firewall with policies a bastion box and a host pool with intune registration set up and fsync with GOP policy and shared managed storage and started over to work with terriform realising i didnt have to. 😂😂

nightwintertooth
Автор

Great video...used this to import subnet into VM template. Have you worked with the AZAPI provider?

johnho
Автор

I have 30 resources, I wanted to import all of them, Is there any other way to get them using single command ? or Azure CLI command without Terraform? az resource list -g <<rg_name>> is not giving complete details about resource from the resource properties. Is there anyway to get complete details of the resource using Azure CLI? Please suggest

ChildOf_Jesus
Автор

Hi, Can we use the name of the resource while executing the import command instead of id of the resource, Can we code the terraform provider in such a way that it will allow us to use the name while executing import command.

pxnlczf
Автор

First thanks for creating this video and I have one question to ask. After watching this, I imported a Terraform Resource Group successfully. Subsequently, I created all the resources under that resource group, such as VM, network, subnet, public IP, etc. Now, when I am trying to run Terraform destroy, it is stating that it will delete everything, including the Resource Group. However, I don't want that because I didn't create it; I imported it. Please suggest a solution

linuxkakkar
Автор

iam unable to do the same thing through pipelines, could you please post a video how to do the same process using azure pipeline script

paidipalasaikumar
Автор

How to import resources directly from Azure Pipelines. Because in my environment resources provisionning need to be automated through pipelines. And I can't use Terrafy as it's not compliant to our policies

DavidBenOtto