magodo
magodo
@ryanhitch Instead you can configure the terraform to [cache the provider](https://developer.hashicorp.com/terraform/cli/config/config-file#provider-plugin-cache) to avoid repeated download.
Another way is to reduce the parallelism to a lower number (defaults to 10).
@majorku5anagi Thank you for asking this! There are following nuances of the `aztfexport` generated configurations comparing to `terraform` plannable import: 1. The generated configuration is provider schema aware, which ideally...
@m1rl0k I've tested via the SP auth way (i.e. `ARM_CLIENT_ID` + `ARM_CLIENT_SECRET`), would you mind give that a try? Currently, I don't have an Azure China account to test the...
Update: I've successfully to make `aztfexport` work for China cloud via CLI auth, by the following steps: 1. `az cloud set --name AzureChinaCloud` 2. `az login --service-principal ` 3. `aztfexport...
@mirzos The error seems derive from the provider: https://github.com/hashicorp/terraform-provider-azurerm/blob/8f356e27d0daad612a75308e801c5ba9374d525e/internal/services/apimanagement/api_management_subscription_resource.go#L247-L260 ```go // check if the subscription is for all apis or a specific product/ api if props.Scope != "" && !strings.HasSuffix(props.Scope,...
Hi @mirzos, just to be sure you are importing the exact same resource: `/subscriptions/0000-0000-0000-0000-0000/resourceGroups/resource-group-name/providers/Microsoft.ApiManagement/service/apim-instance-name/subscriptions/master`?
I've tried to run `terraform import` against the built-in `master` subscription on my side, failed with the same error, while the other subscriptions (named by uuid) are successfully imported. The...
@soumikcal Thank you for submitting this! The logic of how `aztfexport` resolve the dependency is that it traverse the properties of each resource. If there is any string property that...
: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.