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

Failed to import a azurerm_api_management_subscription #21249

Open
1 task done
magodo opened this issue Apr 3, 2023 · 2 comments
Open
1 task done

Failed to import a azurerm_api_management_subscription #21249

magodo opened this issue Apr 3, 2023 · 2 comments

Comments

@magodo
Copy link
Collaborator

magodo commented Apr 3, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.3.9

AzureRM Provider Version

3.50.0

Affected Resource(s)/Data Source(s)

azurerm_api_management_subscription

Terraform Configuration Files

resource "azurerm_api_management_subscription" "test" {}

Debug Output/Panic Output

│ Error: parsing scope into product/ api id "/subscriptions/****/resourceGroups/acctestRG-example/providers/Microsoft.ApiManagement/service/acctestAM-01/": ID was missing the `apis` element

Expected Behaviour

Resource be imported with no error.

Actual Behaviour

Failed to read, actually parsing the scope id of the subscription resource id.

Steps to Reproduce

terraform import

Important Factoids

No response

References

Azure/aztfexport#444

@marzoukali
Copy link

I have the same issue. Any updates?

@rbaronbt
Copy link

I also have the same error.

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

No branches or pull requests

5 participants