+++
+++

== Terraform

https://www.terraform.io/[Terraform] by HashiCorp is a tool to provision and modify
infrastructure via declarative config files.

=== Notes

* An `azurerm_virtual_machine` can't be recreated out-of-the-box as the OS disk
  will still exist. The option `delete_os_disk_on_termination` will delete the
  disk when the machine terminates, which keeps everything happy.
* After adding new providers you need to re-run `terraform init` to install them.
* To force recreation of a resource you can taint it, e.g.
  `terraform taint azurerm_virtual_machine.mymachine`