Terraform-provider-azurerm: azurerm_api_management_subscription requires user_id while Azure Portal doesn't

Created on 2 Oct 2019  路  4Comments  路  Source: terraform-providers/terraform-provider-azurerm

_This issue was originally opened by @jeanpaulsmit as hashicorp/terraform#22970. It was migrated here as a result of the provider split. The original body of the issue is below._


Terraform Version

Terraform v0.12.9

Expected Behavior

When creating a subscription on a product in Azure API Management there is no need to specify a user. In Terraform this should work the same way, productid is required for subscriptions but userid is not.

Actual Behavior

Creating a subscription without the user_id field returns an error.

Steps to Reproduce

Create azurerm_api_management_subscription without user_id field

bug good first issue servicapi-management

Most helpful comment

Any update on this?

All 4 comments

This is blocked until we can upgrade the API Management API/SDK to version 2019-01-01.

This is blocked until we can upgrade the API Management API/SDK to version 2019-01-01.

@kraihn any idea when this will be?

There should also be the ability to create a subscription without the product_id, as in the portal you can create it against a 'scope' which can be the ID of a single API, rather than a product which would be a collection of APIs

Any update on this?

It looks like the APIM SDK version has been updated but this issue persists, given @kraihn has been inactive of late (and that I'd rather not create another issue... how do we get someone to look at this? :( @katbyte

Was this page helpful?
0 / 5 - 0 ratings