This Terraform module will create a ... for use on the Cloud Platform.
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.
Name | Version |
---|---|
terraform | >= 1.2.5 |
aws | >= 4.0.0 |
kubernetes | >= 2.0.0 |
Name | Version |
---|---|
aws | >= 4.0.0 |
No modules.
Name | Type |
---|---|
aws_caller_identity.current | data source |
aws_region.current | data source |
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 |
No outputs.
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.