You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way to set these polices using ARM Template is using the resource type "Microsoft.ApiManagement/service/apis/operations/policies", and setting the properties.policyContent, and properties.contentFormat values.
One of the work arounds to get this working using terraform is to use the terraform azurerm_template_deployment resource.
It will be great if the API management policies can be set using terraform resource and attributes (policy_content and content_format).
New or Affected Resource(s)
azurerm_api_management
Potential Terraform Configuration
content_format="xml"policy_content="<policy content in xml>...."
References
The text was updated successfully, but these errors were encountered:
We've got a meta issue open tracking support for new API Management resources here: #1177 (comment) which includes support for API Management Policies (which will be their own resource); rather than having multiple issues open tracking the same thing I'm going to close this in favour of #1177 - would you mind subscribing to that for updates?
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!
ghost
locked and limited conversation to collaborators
Apr 18, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Description
Currently it is not possible to set API Management Policies (Microsoft.ApiManagement service/apis/operations/policies : https://docs.microsoft.com/en-us/azure/templates/microsoft.apimanagement/2018-06-01-preview/service/apis/operations/policies) using azurerm_api_management resource .
The way to set these polices using ARM Template is using the resource type "Microsoft.ApiManagement/service/apis/operations/policies", and setting the properties.policyContent, and properties.contentFormat values.
One of the work arounds to get this working using terraform is to use the terraform azurerm_template_deployment resource.
It will be great if the API management policies can be set using terraform resource and attributes (policy_content and content_format).
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: