Mounting Disks on Azure VMs
March 16, 2022
I wanted to mount managed storage on an Azure VM, whilst still scripting setup of the VM from Terraform.
The terraform uses a remote-exec script as part of the MV setup:
provisioner "remote-exec" { inline = [ "chmod a+x /tmp/bootstrap.sh", "/tmp/bootstrap.sh" ] }
Unfortunately, the disk isn't …


