azurerm_spring_cloud_customized_accelerator

Manages a Spring Cloud Customized Accelerator.

Example Usage

provider "azurerm" {
  features {}
}

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "west europe"
}

resource "azurerm_spring_cloud_service" "example" {
  name                = "example"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
  sku_name            = "E0"
}

resource "azurerm_spring_cloud_accelerator" "example" {
  name                    = "default"
  spring_cloud_service_id = azurerm_spring_cloud_service.example.id
}

resource "azurerm_spring_cloud_customized_accelerator" "example" {
  name                        = "example"
  spring_cloud_accelerator_id = azurerm_spring_cloud_accelerator.example.id

  git_repository {
    url                 = "https://github.com/Azure-Samples/piggymetrics"
    git_tag             = "spring.version.2.0.3"
    interval_in_seconds = 100
  }

  accelerator_tags = ["tag-a", "tag-b"]
  description      = "example description"
  display_name     = "example name"
  icon_url         = "https://images.freecreatives.com/wp-content/uploads/2015/05/smiley-559124_640.jpg"
}

Arguments Reference

The following arguments are supported:



A git_repository block supports the following:


A basic_auth block supports the following:


A ssh_auth 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

Spring Cloud Customized Accelerators can be imported using the resource id, e.g.

terraform import azurerm_spring_cloud_customized_accelerator.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.AppPlatform/spring/spring1/applicationAccelerators/default/customizedAccelerators/customizedAccelerator1