- take the code from the previous workshop -> https://gist.github.com/veggiemonk/097890ff101a995f3c31f4d25b69665e
- install terraform 0.12 => https://releases.hashicorp.com/terraform/0.12.3/terraform_0.12.3_linux_amd64.zip
- convert it to Terraform 0.12 by using the command
- make sure it works (
- spit into modules. https://www.terraform.io/docs/modules/index.html
- manually go into the console, create a small VM and try to import it into the terraform state -> see https://www.terraform.io/docs/import/usage.html
- destroy everything.