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

any command to skip some specific resource to be exported #452

Closed
rizkyfaza20 opened this issue Sep 13, 2023 · 2 comments
Closed

any command to skip some specific resource to be exported #452

rizkyfaza20 opened this issue Sep 13, 2023 · 2 comments
Labels
question Further information is requested

Comments

@rizkyfaza20
Copy link

rizkyfaza20 commented Sep 13, 2023

I'm having a steps on Azure DevOps on to export some resource group, anyhow i try the way that should be to export on Azure DevOps until I got a throwback of error while exporting :

``[aztfexport] 2023/09/13 04:58:00 DeInitializing...
Error: Failed to import /subscriptions/<subscriptionId>/resourceGroups/rg-somerg-dev/providers/Microsoft.ApiManagement/service/apim-hhtp-dev/subscriptions/master as azurerm_api_management_subscription.res-64: exit status 1

Error: parsing scope into product/ api id "/subscriptions/<subscriptionId>/resourceGroups/rg-somerg-dev/providers/Microsoft.ApiManagement/service/apim-hhtp-dev/": ID was missing the apis element``

I wanted to skip this resource which is the ApiManagement to skip while exported, is it any command on how to do it? I already check on the docs which that use Azure Query of Azure Graph, but it will took a lot of line while do some export. Really need a help, cheers.

@magodo
Copy link
Collaborator

magodo commented Sep 14, 2023

You can use the --continue option to allw it to continue on error.

About this specific error, please take a look at: #444

@magodo magodo added the question Further information is requested label Sep 14, 2023
@rizkyfaza20
Copy link
Author

thanks it help my case

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

No branches or pull requests

2 participants