@@letmetechyou What is your criteria for determining what to delete/remove from the main.tf file after running azft export command? Just trying to understand what to keep and what to ignore as it relates to the import cmd for skipped entries and in the main.tf My main.tf file has 1000 lines I know some modification will be required and the tool is not perfect . Just trying to match my current state in Azure.
Getting the following error: The parsed Resource ID was missing a value for the segment at position 2 (which should be the literal value "resourceGroups"). The error is coming from the azurerm_kubernetes_cluster import block. Is there a fix for this? I get it after running a TF plan. Using the new "import block" method.
Thanks for this video, it is really helpful. Please do help me how to import multiple resources, as the import and import block is good for single recourse, I am looking for a way to import multiple resources, instead of doing for each single resource. I am not sure if this is feasible and best or not. Please guide.
I have another question. Is it possible to only import the resources assigned to an AKS Cluster in Azure instead of all the resources govern under the RG? Looking for tool that will ONLY import the resources assigned to the AKS cluster. Or would you suggest that I use import blocks to accomplish that task?
@@letmetechyou Yes, I have tried terraformer but it didn't work for me. Had better luck with azft export. It was able to pull resources from the RG of the AKS but also pulled too much resources not associated with the AKS cluster. Guess, I'll need to do a process of elimination. Instead of issuing import block commands. Just keep the resources that I need. Thanks.
New TF user here. Your video was crystal clear. Was able to follow and understand with any issues. Thanks again.
Great to hear! If you have other questions let me know.
@@letmetechyou What is your criteria for determining what to delete/remove from the main.tf file after running azft export command?
Just trying to understand what to keep and what to ignore as it relates to the import cmd for skipped entries and in the main.tf My main.tf file has 1000 lines
I know some modification will be required and the tool is not perfect . Just trying to match my current state in Azure.
Thanks for sharing!!!
You bet.
Nice tip! Thanks Just subscribed as well 👍
Thanks man..!!
Yea no problem
Getting the following error: The parsed Resource ID was missing a value for the segment at position 2 (which should be the literal value "resourceGroups").
The error is coming from the azurerm_kubernetes_cluster import block.
Is there a fix for this? I get it after running a TF plan.
Using the new "import block" method.
Thanks for this video, it is really helpful. Please do help me how to import multiple resources, as the import and import block is good for single recourse, I am looking for a way to import multiple resources, instead of doing for each single resource. I am not sure if this is feasible and best or not. Please guide.
aztfy may be able to help with that ruclips.net/video/oOokX83DqMU/видео.html. You can also checkout the tool called terraformer
I have another question. Is it possible to only import the resources assigned to an AKS Cluster in Azure instead of all the resources govern under the RG? Looking for tool that will ONLY import the resources assigned to the AKS cluster. Or would you suggest that I use import blocks to accomplish that task?
Have you checked out the tool called aztfy or terraformer
@@letmetechyou Yes, I have tried terraformer but it didn't work for me. Had better luck with azft export. It was able to pull resources from the RG of the AKS but also pulled too much resources not associated with the AKS cluster. Guess, I'll need to do a process of elimination. Instead of issuing import block commands. Just keep the resources that I need. Thanks.
yea that is kinda of how i went about it. I just kept the resources that i needed to manage myself.@@lakerfan4life308
id does not support variables :(
sound is terrible
thanks for the feedback. been improving over time!