Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure-Terrafy skipping a lot of resources during the import #1

Open
sujith0408 opened this issue Apr 24, 2022 · 3 comments
Open

Azure-Terrafy skipping a lot of resources during the import #1

sujith0408 opened this issue Apr 24, 2022 · 3 comments

Comments

@sujith0408
Copy link

Hi Kevin,

I tried the Azure-terrafy tool and found that it skips a lot of resources. There were around 443 resources in my resource group and majority of them were skipped by this tool. Around 60 odd resources were imported in the terraform configuration file. What is the reason that it skipped resources like Private Endpoint, Storage Accounts etc...

Is there a fix for such issues.

Regards,
Sujith

@Holmern
Copy link

Holmern commented Apr 28, 2022

Hi Sujith,
If there is no light bulp on the side of the Resource, its because "it doenst know" what kind of resource it is supposed to be.
To fix it, you can press enter at the desired resource where you then should write the providers definition of that resource eg. "azurerm_storage_account.res1" The ".res1" is the name it will have in your main.tf.

Hope it helps

@sujith0408
Copy link
Author

Thank you Holmern for the update. I had tried to type in PowerShell 7 terminal, but it did not allow me to type anything. Will it be possible for you to share the steps that need to be followed once the resource that is skipped has been selected.

@kevinevans1
Copy link
Owner

Hi Sujith

I would suggest you try it using the Windows Terminal application included in the pre-reqs 💪

Let me know how you get on! 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants