azurerm_dev_center_catalog

Manages a Dev Center Catalog.

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}
resource "azurerm_dev_center" "example" {
  location            = azurerm_resource_group.example.location
  name                = "example"
  resource_group_name = azurerm_resource_group.example.name

  identity {
    type = "SystemAssigned"
  }
}

resource "azurerm_dev_center_catalog" "example" {
  name                = "example"
  resource_group_name = azurerm_resource_group.test.name
  dev_center_id       = azurerm_dev_center.test.id
  catalog_github {
    branch            = "foo"
    path              = ""
    uri               = "example URI"
    key_vault_key_url = "secret"
  }
}

Arguments Reference

The following arguments are supported:


The catalog_github block supports the following:


The catalog_adogit block supports the following:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:


Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

An existing Dev Center Catalog can be imported into Terraform using the resource id, e.g.

terraform import azurerm_dev_center_catalog.example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devCenters/{devCenterName}/catalogs/{catalogName}