Importing Resource Groups Still Doesn't work
when I run aztfexport rg
This is with 0.14.1
Hey @tsjake what's the full command you're running?
Hey @tsjake what's the full command you're running?
I ran:
aztfexport rg
I should add I can import single resources just fine.
if your command is aztfexport rg --use-azure-cli-cred myResourceGroup then this does just seem like a bug.
Does running aztfexport query --use-azure-cli-cred --recursive "type =~ 'Microsoft.Resources/resourceGroups' and name =~ 'myResourceGroup'" solve the problem? Replace myResourceGroup with your RG of course.
@tsjake Can you please share the generated mapping file aztfexportResourceMapping.json?
Closing for no response from author.