/aws-terraform-modules

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 and are written to be secure by default.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

aws-terraform-modules

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
vpc 1.0.0 https://github.com/frontierhq/aws-terraform-modules/releases/download/vpc/1.0.0/module.tar.gz//src

We welcome contributions to this repository. Please see CONTRIBUTING.md for more information.