Hi,
I’m new to terraform and I have one requirement to increase the os disk size, as per terraform code default it’s taking 30 GiB if I want to increase it to 60 GiB what code needs to write?
I don’t want to add additional disks, just want to increase os disk size.
resource “azurerm_windows_virtual_machine” “example” {
name = “example-machine”
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
size = “Standard_F2”
admin_username = “adminuser”
admin_password = “P@$$w0rd1234!”
network_interface_ids = [
azurerm_network_interface.example.id,
]
os_disk {
caching = “ReadWrite”
storage_account_type = “Standard_LRS”
}