10 What is Terraform Import? How to import existing infra into statefile?

preview_player
Показать описание
What if you create resources outside of terraform lets say from azure portal or using az powershell? Is there a way to import them into statefile?

What is terraform import?
How to import existing azure resources into statefile?

In the previous video we discussed about terraform locals and how to use them in realtime.

For the entire playlist of terraform videos click below

For the entire playlist of azure videos

#nextops videos #nextops azure #nextops terraform
Рекомендации по теме
Комментарии
Автор

Thank you So much for time and effort, I have watched all the other tutorial videos like Udemy, A Cloud Guru, but no one explained That clear, really Hands Off Sir, I would really appreciate if you could do some videos on Ansible Automation in Azure and Python as well 🙏

jitqorg
Автор

Crystal Clear Explanation Charan, Much appreciate it.👏👏👏

venkatmaicharla
Автор

Tq for the knowledge sharing bro, waiting for your next video.

kartheek
Автор

Bro, Could you please start teaching Ansible as well? Please consider my request bro 😊. If possible pls start Ansible after finishing Terraform series. Thanks in advance.. 😇👍

RanjitCh
Автор

Ur videos are really help kindly make series on azure bicep

harikasinghbondili
Автор

Hello Charan . How are you? Awesome video thank you very much. Say like I already have an existing resource group, VNET, SNET and a keyvault to store the VM secrets like admin password which I have used in the past to create an environment and want to deploy a new virtual machine based on this Info. Can you please guide me on how to achieved this? I can see you have done all this in the video but want to know the keyvault and the VM creation process?
Hope to hear from you soon.
Much appreciated

Thanks,
Pavan

ssyixfu
Автор

Thanks for sharing anna... Terraform series completed or more videos yet to come on terraform

VINODKUMARJAINA
Автор

we also have data source for the same thing. then why we are using import function?

kyathamkeshavi
Автор

when we are using import why we are again writing code in Main.tf file ?? cant we directly use command IMPORT to get the existing resources??

awsservices
Автор

Thanks for great information brother. I have a doubt. I was using app service plan resource block which got deprecated . So we are not able to use the old resource blocks any more.
If we update the templates, its destroying and recreating the app service plans. Can you provide your suggestion on best way to handle this scenario ?

srikanthreddy
Автор

Thanks for the video great explanation😊. Is there any way we could import the null resources into state file ?

mharish
Автор

Terrform import chese badhulu data sourcces vadithe already existing resource group ku just doubt

sureshg
Автор

Hi Charan
Do you have any paid courses ..?
Terraform
Azure Devops
Azure admin ../

annaramlg