Today I decided to apply Terraform, as the first DevOps tool to be used in production.
It took me a day to apply the guides in our environment.
My Terraform Github repo



I won’t post the main file, but that is the one with the configuration. See GitHub for the current one.
The process
- first run a plan, export it to a file, so that you can safely check, what will happen.



- If all looks good, you can deploy it


After this the VM should be available eventually.
Notes
Sometimes the creation goes forever, and customisation fails…that happened with sysprep-ed template, and some say it is due to the fact that Terraform does it’s own sysprep and does not expect the template to be sysprep-ed.
(This is still to be verified)