Skip to content

Commit

Permalink
Fix disk size
Browse files Browse the repository at this point in the history
  • Loading branch information
sergelogvinov committed Jul 12, 2022
1 parent 9165cc2 commit fe55ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/instances-werker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"] : []
Expand Down

0 comments on commit fe55ef6

Please sign in to comment.