From fe55ef6e081d98f7179f7a360b1061649213f588 Mon Sep 17 00:00:00 2001 From: Serge Logvinov Date: Tue, 12 Jul 2022 14:31:48 +0300 Subject: [PATCH] Fix disk size --- azure/instances-werker.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/instances-werker.tf b/azure/instances-werker.tf index 48bf10b..f1e9b11 100644 --- a/azure/instances-werker.tf +++ b/azure/instances-werker.tf @@ -52,7 +52,7 @@ resource "azurerm_linux_virtual_machine_scale_set" "worker" { os_disk { caching = "ReadOnly" storage_account_type = lookup(try(var.instances[each.key], {}), "worker_os_ephemeral", false) ? "Standard_LRS" : "StandardSSD_LRS" - disk_size_gb = lookup(try(var.instances[each.key], {}), "worker_os_ephemeral", false) ? 50 : 50 + disk_size_gb = lookup(try(var.instances[each.key], {}), "worker_os_ephemeral", false) ? 32 : 50 dynamic "diff_disk_settings" { for_each = lookup(try(var.instances[each.key], {}), "worker_os_ephemeral", false) ? ["Local"] : []