-
Notifications
You must be signed in to change notification settings - Fork 192
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
panic: runtime error: invalid memory address or nil pointer dereference #257
Comments
@RakhilRavindran007 Thank you for submitting this! I've made a fix in the https://github.com/magodo/azlist project. However, I don't have the environment the reproduce this issue, as I have tried to use Could you please verify that using the latest |
Hello @magodo I followed the above steps and installed latest version of azlist. however when I tried to run it via azlist 'resourceGroup =~ "MY_RG_NAME"' im getting required flag missing error as show below. |
You'll have to set the subscription id, either via |
Hi @magodo Thanks for your prompt reply. I tried to run the command which includes the subscription id. Im getting a bad request output when run the command. please see below screenshot. |
That's weired... It works for me:
I suspect it might because the quote around your rg name is not reserved by the powershell? |
Hi @magodo Thanks |
Assuming this is merged into main, I am still seeing this issue. I can list resources for an RG with azlist but aztfy still throws panic: runtime error: invalid memory address or nil pointer dereference. Is there a timeframe on this fix? |
@bhmahler Yes it is merged in main. Did you install it from source? Would you please check the output of |
I am running on windows so no grep but I installed with I am trying to build from the source but having issues with stthe complied app being blocked. Working on getting that resolved and will test with this version once I do. UPDATE: When running from the compiled source it appears to be working correctly |
@bhmahler |
Installing from the main branch instead of the latest release solved my issue. Thanks @magodo |
Hello Team,
I'm getting below error when I tried to run aztfy command to import all resources inside a resource group. this resource group has around 500 resources inside it.
Azure Terrafy
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x1660809]
The text was updated successfully, but these errors were encountered: