Skip to content

Toshihiro-Tadokoro/m3-terraform-modules

 
 

Repository files navigation

Terraform shared modules

What is this

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.

Documents

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.

How to use

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 ref to specify tag/branch/revision to use

About

Terraform boilerplate modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 95.4%
  • Shell 2.5%
  • Python 2.1%