Azure Spring Cloud App
This page shows how to write Terraform and Azure Resource Manager for Spring Cloud App and write them securely.
azurerm_spring_cloud_app (Terraform)
The App in Spring Cloud can be configured in Terraform with the resource name azurerm_spring_cloud_app. The following sections describe 3 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_spring_cloud_app" "scapp" {
name = var.azurerm_spring_cloud_app_name
resource_group_name = var.resource_group_name
service_name = var.service_name
resource "azurerm_spring_cloud_app" "this" {
name = var.name
resource_group_name = var.resource_group_name
service_name = var.service_name
dynamic "timeouts" {
resource "azurerm_spring_cloud_app" "app" {
for_each = { for app_name in var.azurerm_spring_cloud_apps : app_name.app_name => app_name }
name = each.value.app_name
resource_group_name = var.resource_group_name
service_name = azurerm_spring_cloud_service.spring.name
Parameters
-
fqdnoptional computed - string -
https_onlyoptional - bool -
idoptional computed - string -
is_publicoptional - bool -
namerequired - string -
resource_group_namerequired - string -
service_namerequired - string -
tls_enabledoptional - bool -
urloptional computed - string -
identitylist block-
principal_idoptional computed - string -
tenant_idoptional computed - string -
typeoptional - string
-
-
persistent_disklist block-
mount_pathoptional - string -
size_in_gbrequired - number
-
-
timeoutssingle block
Explanation in Terraform Registry
Manage an Azure Spring Cloud Application.
Microsoft.AppPlatform/Spring/apps (Azure Resource Manager)
The Spring/apps in Microsoft.AppPlatform can be configured in Azure Resource Manager with the resource name Microsoft.AppPlatform/Spring/apps. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersionrequired - stringidentityoptionalprincipalIdoptional - stringPrincipal Id
tenantIdoptional - stringTenant Id
typeoptional - stringType of the managed identity.
locationoptional - stringThe GEO location of the application, always the same with its parent resource
namerequired - stringThe name of the App resource.
propertiesrequiredactiveDeploymentNameoptional - stringName of the active deployment of the App
fqdnoptional - stringFully qualified dns Name.
httpsOnlyoptional - booleanIndicate if only https is allowed.
persistentDiskoptionalmountPathoptional - stringMount path of the persistent disk
sizeInGBoptional - integerSize of the persistent disk in GB
publicoptional - booleanIndicates whether the App exposes public endpoint
temporaryDiskoptionalmountPathoptional - stringMount path of the temporary disk
sizeInGBoptional - integerSize of the temporary disk in GB
typerequired - string
Frequently asked questions
What is Azure Spring Cloud App?
Azure Spring Cloud App is a resource for Spring Cloud of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Spring Cloud App?
For Terraform, the rafadalibera/AzureSpringCloud-IaC, niveklabs/azurerm and kind-grape/terraform-modules-az source code examples are useful. See the Terraform Example section for further details.