Azure Spring Cloud Service
This page shows how to write Terraform and Azure Resource Manager for Spring Cloud Service and write them securely.
azurerm_spring_cloud_service (Terraform)
The Service in Spring Cloud can be configured in Terraform with the resource name azurerm_spring_cloud_service. The following sections describe 4 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_spring_cloud_service" "default" {
name = "example-springcloud"
resource_group_name = azurerm_resource_group.default.name
location = azurerm_resource_group.default.location
sku_name = "B0"
resource "azurerm_spring_cloud_service" "prd" {
name = "prd-library"
resource_group_name = azurerm_resource_group.prd.name
location = azurerm_resource_group.prd.location
sku_name = "S0"
resource "azurerm_spring_cloud_service" "this" {
location = var.location
name = var.name
resource_group_name = var.resource_group_name
tags = var.tags
resource "azurerm_spring_cloud_service" "spring" {
name = var.spring_cloud_service_name
location = var.resource_group_location
resource_group_name = var.resource_group_name
sku_name = var.spring_cloud_service_sku
Parameters
-
idoptional computed - string -
locationrequired - string -
namerequired - string -
outbound_public_ip_addressesoptional computed - list of string -
resource_group_namerequired - string -
sku_nameoptional - string -
tagsoptional - map from string to string -
config_server_git_settinglist block-
labeloptional - string -
search_pathsoptional - list of string -
urirequired - string -
http_basic_authlist block -
repositorylist block-
labeloptional - string -
namerequired - string -
patternoptional - list of string -
search_pathsoptional - list of string -
urirequired - string -
http_basic_authlist block -
ssh_authlist block-
host_keyoptional - string -
host_key_algorithmoptional - string -
private_keyrequired - string -
strict_host_key_checking_enabledoptional - bool
-
-
-
ssh_authlist block-
host_keyoptional - string -
host_key_algorithmoptional - string -
private_keyrequired - string -
strict_host_key_checking_enabledoptional - bool
-
-
-
networklist block-
app_network_resource_groupoptional computed - string -
app_subnet_idrequired - string -
cidr_rangesrequired - list of string -
service_runtime_network_resource_groupoptional computed - string -
service_runtime_subnet_idrequired - string
-
-
timeoutssingle block -
tracelist block-
instrumentation_keyrequired - string -
sample_rateoptional - number
-
Explanation in Terraform Registry
Manages an Azure Spring Cloud Service.
Microsoft.AppPlatform/Spring (Azure Resource Manager)
The Spring in Microsoft.AppPlatform can be configured in Azure Resource Manager with the resource name Microsoft.AppPlatform/Spring. 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 - stringlocationoptional - stringThe GEO location of the resource.
namerequired - stringThe name of the Service resource.
propertiesrequirednetworkProfileoptionalappNetworkResourceGroupoptional - stringName of the resource group containing network resources of Azure Spring Cloud Apps
appSubnetIdoptional - stringFully qualified resource Id of the subnet to host Azure Spring Cloud Apps
serviceCidroptional - stringAzure Spring Cloud service reserved CIDR
serviceRuntimeNetworkResourceGroupoptional - stringName of the resource group containing network resources of Azure Spring Cloud Service Runtime
serviceRuntimeSubnetIdoptional - stringFully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime
skuoptionalcapacityoptional - integerCurrent capacity of the target resource
nameoptional - stringName of the Sku
tieroptional - stringTier of the Sku
tagsoptional - stringTags of the service which is a list of key value pairs that describe the resource.
typerequired - string
Frequently asked questions
What is Azure Spring Cloud Service?
Azure Spring Cloud Service 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 Service?
For Terraform, the msftph/azure-spring-cloud-terraform, edoardopelli/terraform-azure and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.