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
It works fine for azurerm_api_management_api_policy. Expected the same for azurerm_api_management_api_operation_policy . Policy works fine if you apply it via Azure portal.
Error: creating or updating API Operation Policy (Resource Group "RG-xxx" / API Management Service "apim-xxx" / API "XXXApi" / Operation "AccessLevelGet"): apimanagement.APIOperationPolicyClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="ValidationError" Message="One or more fields contain incorrect values:" Details=[{"code":"ValidationError","message":"The 'JObject' start tag on line 24 position 94 does not match the end tag of 'value'. Line 27, position 15.","target":"representation"}]
on apimanagements.tf line 1373, in resource "azurerm_api_management_api_operation_policy" "XXXPolicy":
1373: resource "azurerm_api_management_api_operation_policy" "XXXPolicy" {
Steps to Reproduce
terraform apply
Important Factoids
Checked on Azure East US 2 location.
Works fine via portal.
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
Aug 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
terraform 0.12.26 x64
"azurerm" (hashicorp/azurerm) 2.14.0
"template" (hashicorp/template) 2.1.2
Affected Resource(s)
Terraform Configuration Files
XML Policy
Debug Output
Panic Output
Expected Behavior
It works fine for azurerm_api_management_api_policy. Expected the same for azurerm_api_management_api_operation_policy . Policy works fine if you apply it via Azure portal.
example:
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: