Open tsjake opened 2 months ago
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
?
when I run aztfexport rg it tells me all the resources are skipped, additionally it only shows one resource despite there being 14 in the group. I tried the --use-azure-cli-cred flag and it tells me there's multiple resource groups defined.
This is with 0.14.1