Difference between revisions of "Azure Terraform"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
- https://github.com/hashicorp/terraform-provider-azurerm/issues/8273 | - https://github.com/hashicorp/terraform-provider-azurerm/issues/8273 | ||
- https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-disk-storage | - https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-disk-storage | ||
+ | |||
+ | |||
+ | https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/managed_disk |
Revision as of 11:29, 25 October 2021
- https://docs.microsoft.com/en-us/azure/developer/terraform/create-vm-cluster-with-infrastructure
- new vm linux won't work
- https://github.com/hashicorp/terraform-provider-azurerm/issues/6117
- https://github.com/hashicorp/terraform-plugin-sdk/issues/220
- except changing storage_account_type of disk doesn't work in azure_virtual_machin https://github.com/hashicorp/terraform-provider-azurerm/issues/555
- delete_os_disk_on_deletion = false
https://docs.w3cub.com/terraform/providers/azurerm/r/virtual_machine
https://www.reddit.com/r/Terraform/comments/nkpcwx/terraform_vm_is_replaced_in_the_second_run/
Big Bugs/Quirks
~ os_disk { name = "myhost_disk1_16d4d5c5fde54722bdbbedfb6da62aa1" ~ storage_account_type = "Standard_LRS" -> "StandardSSD_LRS" # forces replacement # (3 unchanged attributes hidden) }
Quirks Workarounds
- migrate by hand disk
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/managed_disk