diff --git a/terraform-azure/local.tf b/terraform-azure/local.tf index 266061298..6b5cb1a4a 100644 --- a/terraform-azure/local.tf +++ b/terraform-azure/local.tf @@ -33,7 +33,7 @@ locals { "RAILS_SERVE_STATIC_FILES" = var.webapp_config_rails_serve_static_files "TRACKING_ID" = var.tracking_id "WEB_CONCURRENCY" = var.webapp_config_web_concurrency - "WEBSITES_CONTAINER_START_TIME_LIMIT" = 1800 + "WEBSITES_CONTAINER_START_TIME_LIMIT" = 180 } webapp_slot_app_settings = { @@ -58,7 +58,7 @@ locals { "RAILS_SERVE_STATIC_FILES" = var.webapp_config_rails_serve_static_files "TRACKING_ID" = var.tracking_id "WEB_CONCURRENCY" = var.webapp_config_web_concurrency - "WEBSITES_CONTAINER_START_TIME_LIMIT" = 1800 + "WEBSITES_CONTAINER_START_TIME_LIMIT" = 180 } # Background Worker Application Configuration @@ -94,6 +94,6 @@ locals { "RAILS_MAX_THREADS" = var.webapp_config_rails_max_threads "RAILS_SERVE_STATIC_FILES" = var.webapp_config_rails_serve_static_files "WEB_CONCURRENCY" = var.webapp_config_web_concurrency - "WEBSITES_CONTAINER_START_TIME_LIMIT" = 1800 + "WEBSITES_CONTAINER_START_TIME_LIMIT" = 180 } } diff --git a/terraform-azure/terraform-azure-app/main.tf b/terraform-azure/terraform-azure-app/main.tf index 31af5c968..3d1d8c43b 100644 --- a/terraform-azure/terraform-azure-app/main.tf +++ b/terraform-azure/terraform-azure-app/main.tf @@ -31,7 +31,7 @@ resource "azurerm_container_group" "app_worker" { subnet_ids = [var.app_worker_subnet_id] lifecycle { - ignore_changes = [tags, container.0.image] + ignore_changes = [tags] } #checkov:skip=CKV2_AZURE_28:Using VNet diff --git a/terraform-azure/terraform-azure-web/webapp.tf b/terraform-azure/terraform-azure-web/webapp.tf index 43c758937..379b98596 100644 --- a/terraform-azure/terraform-azure-web/webapp.tf +++ b/terraform-azure/terraform-azure-web/webapp.tf @@ -260,7 +260,7 @@ resource "azurerm_monitor_autoscale_setting" "asp_as" { metric_resource_id = azurerm_service_plan.asp.id statistic = "Average" operator = "GreaterThan" - threshold = 70 + threshold = 80 time_aggregation = "Average" time_grain = "PT1M" time_window = "PT10M" @@ -281,7 +281,7 @@ resource "azurerm_monitor_autoscale_setting" "asp_as" { metric_resource_id = azurerm_service_plan.asp.id statistic = "Average" operator = "LessThan" - threshold = 50 + threshold = 65 time_aggregation = "Average" time_grain = "PT1M" time_window = "PT10M"