Install software, edit files, and provision machines created with Terraform. Use Packer or Cloud-Init to automatically provision SSH keys and a web server onto a Linux VM created by Terraform in AWS.
Deploy preconfigured infrastructure with Terraform using the Cloud-Init tool.
Create an image with Packer, containing SSH keys, a new user, and a demo webapp, and deploy it with Terraform.