Table of Contents
This repository contains a collection of Terraform modules based on the AWS Provider. They're intended to be used as part of a module composition approach to Terraform use. The modules implement a standardised approach to naming and tagging, are written to be secure by default <https://www.ncsc.gov.uk/information/secure-default>.
This repository maintains independent semver versioning for each module, and produces module-specific releases. This approach enables modules to be consumed independently of one another, and without the need for Terraform to clone the entire repository.
To use a module, add a module block and specify the source as a module archive URL. The URL should be in the format:
https://github.com/frontierhq/aws-terraform-modules/releases/download/[module-name]/[version]/module.tar.gz//src
For example:
module "vpc" {
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/vpc/1.0.0/module.tar.gz//src"
environment = "dev"
identifier = "k8s"
region = "eu-west-2"
zone = "shd"
cidr_block = var.cidr_block
tags = {
WorkloadType = "CustomerBankingLZ/container-platform"
}
}
See Modules Overview for more information on Terraform Modules.
Module name | Latest version | Source URL |
---|---|---|
app-autoscaling-policy | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/app-autoscaling-policy/1.0.0/module.tar.gz//src |
app-autoscaling-target | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/app-autoscaling-target/1.0.0/module.tar.gz//src |
db-instance | 1.1.10 | https://github.com/frontierhq/aws-terraform-modules/releases/download/db-instance/1.1.10/module.tar.gz//src |
db-parameter-group | 1.0.9 | https://github.com/frontierhq/aws-terraform-modules/releases/download/db-parameter-group/1.0.9/module.tar.gz//src |
ec2-instance | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/ec2-instance/1.0.0/module.tar.gz//src |
ecr-repository | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/ecr-repository/1.0.0/module.tar.gz//src |
ecs-service | 1.0.7 | https://github.com/frontierhq/aws-terraform-modules/releases/download/ecs-service/1.0.7/module.tar.gz//src |
ecs-task-definition | 1.0.13 | https://github.com/frontierhq/aws-terraform-modules/releases/download/ecs-task-definition/1.0.13/module.tar.gz//src |
lb | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/lb/1.0.0/module.tar.gz//src |
lb-listener | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/lb-listener/1.0.0/module.tar.gz//src |
lb-listener-rule | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/lb-listener-rule/1.0.0/module.tar.gz//src |
lb-target-group | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/lb-target-group/1.0.0/module.tar.gz//src |
nat-gateway | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/nat-gateway/1.0.0/module.tar.gz//src |
security-group | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/security-group/1.0.0/module.tar.gz//src |
service-discovery-service | 1.0.14 | https://github.com/frontierhq/aws-terraform-modules/releases/download/service-discovery-service/1.0.14/module.tar.gz//src |
subnet | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/subnet/1.0.0/module.tar.gz//src |
vpc | 2.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/vpc/2.0.0/module.tar.gz//src |
vpc-endpoint | 1.0.0 | https://github.com/frontierhq/aws-terraform-modules/releases/download/vpc-endpoint/1.0.0/module.tar.gz//src |
We welcome contributions to this repository. Please see CONTRIBUTING.md for more information.