-
Notifications
You must be signed in to change notification settings - Fork 192
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
Query with recursive doesn't generate output file #384
Comments
@bjewell2x Per my test, there is one resource: The upstream issue: hashicorp/terraform-provider-azurerm#21249 |
I think this bug and a few others in this list touch on a critical issue with this tool. OBVIOUSLY, the expected behaviour should be that it imports everything that was possible to import. It's not like anyone is going to use this terraform directly, because it's not setup that way to be reasonable. What we'll do is, look at the resources that aztfexport exported, copy/paste the ones one need into our real terraform project. |
@dloukola Thank you for the suggestion! In fact, we have several ways to continue exporting:
|
I'll try it! Maybe the issue is more of a message and docs problem. It's not really clear why it goes back to the import list, but now I know! |
Hi @magodo , so I tried clicking delete on all the items that came up after the first export. Then after than completed I just get |
@dloukola You'll need to keep the exported items, only delete the items that failed/you want to ignore. |
👋 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. |
Hi all,
I had ran the command aztfexport query -r -o "file destination" "type =~ 'microsoft.apimanagement/service'" which generated a list of all the resources that I wanted exported.
I ran the import and once it was completed, there was no .tf file with the content from the import saved in the output directory.
The text was updated successfully, but these errors were encountered: