Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 3.31 KB

File metadata and controls

82 lines (57 loc) · 3.31 KB

cloud-platform-terraform-template

Releases

This Terraform module will create a ... for use on the Cloud Platform.

Usage

module "template" {
  source = "github.com/ministryofjustice/cloud-platform-terraform-template?ref=version" # use the latest release

  # Configuration
  # ...

  # Tags
  business_unit          = var.business_unit
  application            = var.application
  is_production          = var.is_production
  team_name              = var.team_name
  namespace              = var.namespace
  environment_name       = var.environment
  infrastructure_support = var.infrastructure_support
}

See the examples/ folder for more information.

Requirements

Name Version
terraform >= 1.2.5
aws >= 4.0.0
kubernetes >= 2.0.0

Providers

Name Version
aws >= 4.0.0

Modules

No modules.

Resources

Name Type
aws_caller_identity.current data source
aws_region.current data source

Inputs

Name Description Type Default Required
application Application name string n/a yes
business_unit Area of the MOJ responsible for the service string n/a yes
environment_name Environment name string n/a yes
infrastructure_support The team responsible for managing the infrastructure. Should be of the form () string n/a yes
is_production Whether this is used for production or not string n/a yes
namespace Namespace name string n/a yes
team_name Team name string n/a yes

Outputs

No outputs.

Tags

Some of the inputs for this module are tags. All infrastructure resources must be tagged to meet the MOJ Technical Guidance on Documenting owners of infrastructure.

You should use your namespace variables to populate these. See the Usage section for more information.

Reading Material