Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
There is a new API management service versioned 2022-08-01. The current azurerm_api_management_api implementation uses 2021-08-01 and it's missing a new feature for openapi import.
API import is translating all required query parameters to template parameters by default. It can be set via API but Terraform resource is not updated to this new API nor have these fields.
This new import feature is available in API management UI too:
Adding translate_required_query_parameters field to terraform for create reason will bring this new functionality to terraform resource.
Is there an existing issue for this?
Community Note
Description
There is a new API management service versioned 2022-08-01. The current azurerm_api_management_api implementation uses 2021-08-01 and it's missing a new feature for openapi import.
API import is translating all required query parameters to template parameters by default. It can be set via API but Terraform resource is not updated to this new API nor have these fields.
This new import feature is available in API management UI too:
Adding translate_required_query_parameters field to terraform for create reason will bring this new functionality to terraform resource.
New or Affected Resource(s)/Data Source(s)
azurerm_api_management_api
Potential Terraform Configuration
References
Related bug ticket: https://github.com/hashicorp/terraform-provider-azurerm/issues/21852