diff --git a/src/content/blog/streamlit-deployment-guide-part-3-azure-infra.mdx b/src/content/blog/streamlit-deployment-guide-part-3-azure-infra.mdx index 60ad655..630a582 100644 --- a/src/content/blog/streamlit-deployment-guide-part-3-azure-infra.mdx +++ b/src/content/blog/streamlit-deployment-guide-part-3-azure-infra.mdx @@ -151,6 +151,8 @@ variable "environment" { ### locals.tf +With our locals we are able to store values that can be shared and built up. Like providing a prefix for the app_service_plan_name. + See [locals](https://developer.hashicorp.com/terraform/language/values/locals) ```hcl @@ -165,6 +167,8 @@ locals { ### web-app.tf +This is the required resources to setup an Azure Web App. The interesting part is the application stack which configures it to use a docker image. + ```hcl resource "azurerm_service_plan" "service_plan" { name = local.app_service_plan_name @@ -195,11 +199,5 @@ resource "azurerm_linux_web_app" "web-app" { docker_registry_password = var.use_docker_registry_auth ? var.docker_registry_password : null } } - - logs { - application_logs { - file_system_level = "Verbose" - } - } } ```