terraform-provider-azurerm icon indicating copy to clipboard operation
terraform-provider-azurerm copied to clipboard

Support for API Management Workspaces

Open alexwiese opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Community Note

  • 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

Add support for API Management Workspaces.

New or Affected Resource(s)/Data Source(s)

azurerm_api_management_workspace

Potential Terraform Configuration

resource "azurerm_api_management_workspace" "my_workspace" {
    api_management_name = "my-apim"
    resource_group_name = "my-rg"
    name = "my-workspace"
    description = "description"

}

# Deploy an API to a workspace
resource "azurerm_api_management_api" "api" {
  name                = "my-api"
  api_management_name = "my-apim"
  resource_group_name = "my-rg"
  workspace_id        = azurerm_api_management_workspace.my_workspace.id
}

References

https://learn.microsoft.com/en-us/azure/api-management/workspaces-overview

alexwiese avatar Mar 24 '23 05:03 alexwiese

Having workspaces for Azure API Management in Terraform would make managing and deploying APIs easier and faster. I fully support this feature request.

heller-tobias avatar Aug 10 '23 08:08 heller-tobias

Do we have any update on when workspaces will be supported.

christopher-pope avatar Feb 27 '24 19:02 christopher-pope

We're eagerly awaiting this feature. Are there any updates? As a workaround, we're currently using azapi_resource, but it would be great to have an azurerm resource for this.

lahiruperamune avatar Aug 22 '24 10:08 lahiruperamune