You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"azurerm_spring_cloud_service""this" {
# location - (required) is a type of stringlocation=var.location# name - (required) is a type of stringname=var.name# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# sku_name - (optional) is a type of stringsku_name=var.sku_name# tags - (optional) is a type of map of stringtags=var.tagsdynamic"config_server_git_setting" {
for_each=var.config_server_git_settingcontent {
# label - (optional) is a type of stringlabel=config_server_git_setting.value["label"]
# search_paths - (optional) is a type of list of stringsearch_paths=config_server_git_setting.value["search_paths"]
# uri - (required) is a type of stringuri=config_server_git_setting.value["uri"]
dynamic"http_basic_auth" {
for_each=config_server_git_setting.value.http_basic_authcontent {
# password - (required) is a type of stringpassword=http_basic_auth.value["password"]
# username - (required) is a type of stringusername=http_basic_auth.value["username"]
}
}
dynamic"repository" {
for_each=config_server_git_setting.value.repositorycontent {
# label - (optional) is a type of stringlabel=repository.value["label"]
# name - (required) is a type of stringname=repository.value["name"]
# pattern - (optional) is a type of list of stringpattern=repository.value["pattern"]
# search_paths - (optional) is a type of list of stringsearch_paths=repository.value["search_paths"]
# uri - (required) is a type of stringuri=repository.value["uri"]
dynamic"http_basic_auth" {
for_each=repository.value.http_basic_authcontent {
# password - (required) is a type of stringpassword=http_basic_auth.value["password"]
# username - (required) is a type of stringusername=http_basic_auth.value["username"]
}
}
dynamic"ssh_auth" {
for_each=repository.value.ssh_authcontent {
# host_key - (optional) is a type of stringhost_key=ssh_auth.value["host_key"]
# host_key_algorithm - (optional) is a type of stringhost_key_algorithm=ssh_auth.value["host_key_algorithm"]
# private_key - (required) is a type of stringprivate_key=ssh_auth.value["private_key"]
# strict_host_key_checking_enabled - (optional) is a type of boolstrict_host_key_checking_enabled=ssh_auth.value["strict_host_key_checking_enabled"]
}
}
}
}
dynamic"ssh_auth" {
for_each=config_server_git_setting.value.ssh_authcontent {
# host_key - (optional) is a type of stringhost_key=ssh_auth.value["host_key"]
# host_key_algorithm - (optional) is a type of stringhost_key_algorithm=ssh_auth.value["host_key_algorithm"]
# private_key - (required) is a type of stringprivate_key=ssh_auth.value["private_key"]
# strict_host_key_checking_enabled - (optional) is a type of boolstrict_host_key_checking_enabled=ssh_auth.value["strict_host_key_checking_enabled"]
}
}
}
}
dynamic"network" {
for_each=var.networkcontent {
# app_network_resource_group - (optional) is a type of stringapp_network_resource_group=network.value["app_network_resource_group"]
# app_subnet_id - (required) is a type of stringapp_subnet_id=network.value["app_subnet_id"]
# cidr_ranges - (required) is a type of list of stringcidr_ranges=network.value["cidr_ranges"]
# service_runtime_network_resource_group - (optional) is a type of stringservice_runtime_network_resource_group=network.value["service_runtime_network_resource_group"]
# service_runtime_subnet_id - (required) is a type of stringservice_runtime_subnet_id=network.value["service_runtime_subnet_id"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
dynamic"trace" {
for_each=var.tracecontent {
# instrumentation_key - (required) is a type of stringinstrumentation_key=trace.value["instrumentation_key"]
# sample_rate - (optional) is a type of numbersample_rate=trace.value["sample_rate"]
}
}
}
output"id" {
description="returns a string"value=azurerm_spring_cloud_service.this.id
}
output"outbound_public_ip_addresses" {
description="returns a list of string"value=azurerm_spring_cloud_service.this.outbound_public_ip_addresses
}
output"this" {
value=azurerm_spring_cloud_service.this
}