aztfexport
aztfexport copied to clipboard
rg argument does not display the resource group or any resources within the group
When I run aztfexport with the --resource-group argument, aztfexport runs for a moment and then shows no resource groups or resources found. I confirmed that my user account and my machine identity both have the Reader role on the resource group and all resources within the group. I've retried az login several times and the issue persists.
This is with v0.14.0.
@MohnJadden can you confirm the full command you're running here? Feel free to redact any sensitive info.
@stemaMSFT
I'm running ./aztfexport rg --output-dir "newdir" resourcegroupname
Output looks like:
`Microsoft Azure Export for Terraform resourcegroupname No items
No items found.`
Does the output change when using the --use-azure-cli-cred
command?
I am having the same issue. In my case it sees the resource group, but no resources under it.
:wave:
Since we've not heard back here I'm going to close this issue for the moment. Feel free to reopen if still have questions.