hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.62k stars 4.66k forks source link

Support for API Management Workspaces #21109

Open alexwiese opened 1 year ago

alexwiese commented 1 year ago

Is there an existing issue for this?

Community Note

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

heller-tobias commented 1 year ago

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

christopher-pope commented 9 months ago

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

lahiruperamune commented 3 months ago

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.

didaskein commented 3 months ago

Workspace are in GA now :-) https://azure.microsoft.com/en-us/updates/v2/workspaces-in-azure-api-management I can't wait for this to be supported in Terraform ;)

myn commented 2 months ago

Waiting for this feature.

Ravindra-R-reddy commented 1 month ago

Much needed feature as workspaces is GA now.

JackBruceShell commented 3 weeks ago

27937

New ticket opened so referenced.

This is much needed now since APIM Workspaces are now GA.

Thanks

avendretter commented 1 day ago

Much needed from our end as well!