Open manuel9nunez opened 1 week ago
Hi @manuel9nunez , thanks for submitting this issue! I am working on a PR to fix this. I can make API schema created by Terraform looks like in the first provided screenshot, but I am unable to find any documents on how to create the API schema on Azure Portal, so I am unable to validate my PR really work in real scenario. Do you know how I can play with some demo of API schema, so that I can validate my PR really fix the issue?
Sure heres some examples you should be able to spin up a free tiered one
https://learn.microsoft.com/en-us/azure/api-management/add-api-manually
Here they show how to create the representation in the UI
https://learn.microsoft.com/en-us/azure/api-management/mock-api-responses?tabs=azure-portal
Is there an existing issue for this?
Community Note
Terraform Version
1.9.0
AzureRM Provider Version
3.109.0
Affected Resource(s)/Data Source(s)
azurerm_api_management_api_schema
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Looking at another schema created by the UI
Actual Behaviour
This is the result wiht the one created in terraform
Steps to Reproduce
1.terraform apply
Important Factoids
Running in Azure Pipeline/local pointing to Azure US same result
References
https://github.com/hashicorp/terraform-provider-azurerm/issues/3980