-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_api_management_api lacks ability to set "Subscription required" flag to false #3863
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
hi @tombuildsstuff , is there any plan on implementing this? As @hkochniss pointed out it seems impossible to create an API endpoint without a subscription key. |
This actually referenced in PR 4885, please see my comments for why this can't be implemented just yet. |
…hicorp#4885) Add subscription_required to data and resource for azurerm_api_management_api (fixes hashicorp#3863 )
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
1.30
Affected Resource(s)
azurerm_api_management_api
Expected Behavior
By default the
Subscription required
flag should be set to false if nosubscription_key_parameter_names
are provided or there should be an argumentsubscription_required
exposed for this flag. Right now it seems impossible to create an API Management Api without a required subscription (thus allowing simple passthrough/proxy scenarios).Actual Behavior
Creating an API management always sets the
Subscription required
flag in the portal to trueSteps to Reproduce
Create any
azurerm_api_management
with anyazurerm_api_management_api
.terraform apply
Important Factoids
none
References
https://www.terraform.io/docs/providers/azurerm/r/api_management_api.html#subscription_key_parameter_names
shows no represenation for the flag
The text was updated successfully, but these errors were encountered: