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
Unable to disable subscription for azure.apimanagement.Api #381
Comments
While looking into a workaround and I'd guess this is just a case of a missing property in the upstream tf provider The CreateOrUpdate azurerm body shows a The terraform list of parameters only seems to have |
@johlrich Thanks for checking this! |
This actually referenced in PR 4885, please see my comments for why this can't be implemented just yet. |
If you link your API to a Product that is not require API key, you can all you API without key. const product = new azure.apimanagement.Product(name, {
resourceGroupName: apimInfo.group,
apiManagementName: apimInfo.name,
productId: name,
displayName: displayName || name,
published: true,
subscriptionRequired:false,
approvalRequired: false
}); |
Meanwhile this has been fixed in upstream a couple of weeks ago. @mikhailshilkov I'm not familiar with the pulumi release / update cycle, but could you maybe reassess this? Thanks! |
@Gerrit-K We updated to that upstream version in our version |
@mikhailshilkov sorry for that, apparently my IDE didn't refresh after I updated the npm package. I can confirm that it works now, so I'd agree on closing this. |
Leaving off the
subscriptionKeyParameterNames
or explicitly setting it to undefined creates the Api with the subscription enabled with default header / query parameter names.I am unsure how this resource behaves with just the terraform provider.
The text was updated successfully, but these errors were encountered: