aztfexport icon indicating copy to clipboard operation
aztfexport copied to clipboard

rg argument does not display the resource group or any resources within the group

Open MohnJadden opened this issue 10 months ago • 4 comments

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 avatar Apr 02 '24 15:04 MohnJadden

@MohnJadden can you confirm the full command you're running here? Feel free to redact any sensitive info.

stemaMSFT avatar Apr 02 '24 18:04 stemaMSFT

@stemaMSFT I'm running ./aztfexport rg --output-dir "newdir" resourcegroupname

Output looks like:

`Microsoft Azure Export for Terraform resourcegroupname No items

No items found.`

MohnJadden avatar Apr 02 '24 19:04 MohnJadden

Does the output change when using the --use-azure-cli-cred command?

stemaMSFT avatar Apr 02 '24 20:04 stemaMSFT

I am having the same issue. In my case it sees the resource group, but no resources under it.

tsjake avatar Apr 09 '24 16:04 tsjake

: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.

magodo avatar Aug 09 '24 07:08 magodo