Skip to content
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

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

Open
MohnJadden opened this issue Apr 2, 2024 · 4 comments

Comments

@MohnJadden
Copy link

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.

@stemaMSFT
Copy link
Member

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

@MohnJadden
Copy link
Author

MohnJadden commented Apr 2, 2024

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

Output looks like:

`Microsoft Azure Export for Terraform
resourcegroupname
No items

No items found.`

@stemaMSFT
Copy link
Member

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

@tsjake
Copy link

tsjake commented Apr 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants