Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Terraform modules developed at the Wellcome Trust.

License

Notifications You must be signed in to change notification settings

wellcometrust/terraform-modules

Repository files navigation

Wellcome Trust Terraform modules

Build Status

Some https://www.terraform.io/ modules developed at the Wellcome Trust.

Currently in use on:

Usage

Reference your module source as shown below. Use ref=v1.0.0 to pin your module at a particular version.

Example

module "router_alb" {
  source  = "git::https://github.com/wellcometrust/terraform.git//terraform/ecs_alb?ref=v1.0.0"
  name    = "loris"
  subnets = ["${module.vpc_router.subnets}"]

  loadbalancer_security_groups = [
    "${module.router_cluster_asg.loadbalancer_sg_https_id}",
    "${module.router_cluster_asg.loadbalancer_sg_http_id}",
  ]

  certificate_domain = "api.wellcomecollection.org"
  vpc_id             = "${module.vpc_router.vpc_id}"

  alb_access_log_bucket = "${aws_s3_bucket.alb-logs.id}"
}

Developing

PRs will need to include a RELEASE.md file in the root of the repo following this structure:

RELEASE_TYPE: major 

This is a description of the changes in the PR!

Release type can be "major", "minor" or "patch" following Semantic Versioning guidelines.

Merged PRs are automatically tagged with the appropriate version change.