azure-serverless-app / terraform / outputs.tf
outputs.tf
Raw
output "api_endpoint" {
  description = "Put this in API_ENDPOINT in ../scripts.js"
  value       = "${azurerm_api_management.apim.gateway_url}/employees"
}

output "function_app_name" {
  value = azurerm_function_app_flex_consumption.func.name
}

output "function_url" {
  value = "https://${azurerm_function_app_flex_consumption.func.default_hostname}/api/employees"
}

output "cosmos_account" {
  value = azurerm_cosmosdb_account.cosmos.name
}

output "static_web_app_url" {
  value = "https://${data.azurerm_static_web_app.site.default_host_name}/profile.html"
}