Manages a Spring Cloud Accelerator.
provider "azurerm" {
features {}
}
resource "azurerm_resource_group" "example" {
name = "example"
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
}
The following arguments are supported:
name
- (Required) The name which should be used for this Spring Cloud Accelerator. Changing this forces a new Spring Cloud Accelerator to be created. The only possible value is default
.
spring_cloud_service_id
- (Required) The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Accelerator to be created.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Spring Cloud Accelerator.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Spring Cloud Accelerator.read
- (Defaults to 5 minutes) Used when retrieving the Spring Cloud Accelerator.update
- (Defaults to 30 minutes) Used when updating the Spring Cloud Accelerator.delete
- (Defaults to 30 minutes) Used when deleting the Spring Cloud Accelerator.Spring Cloud Accelerators can be imported using the resource id
, e.g.
terraform import azurerm_spring_cloud_accelerator.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resourceGroup1/providers/Microsoft.AppPlatform/spring/service1/applicationAccelerators/default