These Terraform templates show an example of how to define a Terraform Module. This module shows an example of how to:
- Take the AMI created in the
packer-example
folder. - Deploy it on an EC2 instance in AWS.
- Run the Ruby on Rails app within the AMI.
- See the Using Modules documentation on how to use modules in your code.
- See vars.tf for the parameters you need to pass to this module.
- See terraform-example-full for an example.