This module contains reusable terraform modules to reduce boilerplate code. Mainly for M3 company but anyone can use this under LICENSE.
For example, you can setup ECS cluster + AutoScailing with ecs_ec2_cluster_template, no need to write many terraform for every applications.
Look README.md and variables.tf of each module to know it's detail. For example, ecs_ec2_cluster_template/README.md and ecs_ec2_cluster_template/variables.tf.
You can load this module from GitHub registry.
Only what you need to do is to write following:
module "esc_ec2_cluster_template" {
  source = "github.com/m3dev/m3-terraform-modules//ecs_ec2_cluster_template?ref=495ff58"
  // ... set input variables, see `variables.tf` of the module.
}
Note that there are some key points in the source URL (see official document for detail):
- Use double slash (//) to split repository URL and path from repository root
- Use refto specify tag/branch/revision to use