Please vote on this issue by adding a 👍 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
When trying to create an azurerm_api_management_api_diagnostic within an existing APIM the logger id is required. This is only available on the azurerm_api_management_logger which is only supported as a resource.
Currently, there is only a resource for azurerm_api_management_logger which means there is no way to access the logger id required to configure a logger for new APIs. The azurerm_api_management_logger could be imported but the intent here is not to manage logger, just to use ts id.
Community Note
Description
When trying to create an
azurerm_api_management_api_diagnostic
within an existing APIM the logger id is required. This is only available on theazurerm_api_management_logger
which is only supported as a resource.Currently, there is only a resource for
azurerm_api_management_logger
which means there is no way to access the logger id required to configure a logger for new APIs. Theazurerm_api_management_logger
could be imported but the intent here is not to manage logger, just to use ts id.New or Affected Resource(s)
azurerm_api_management_api_diagnostic
Potential Terraform Configuration