The purpose of this module is to create an ECS cluster with some sensible defaults for use in Digital Backbone. The aim is to simplify creating multiple instances of the same application.
- Creates an ECS cluster
- Integrates with AWS IAM for role management
- Enables CloudWatch logging
- Creates a VPC with subnets and security groups
- Creates a load balancer for the services
- Logs ALB access logs to S3
- Supports EFS
- Outputs variables for integration with other modules
To use this module, include it in your Terraform configuration:
module "ecs" {
source = "github.com/govuk-digital-backbone/terraform-ecs-module"
cluster_name = "my-cluster"
efs_enabled = false
efs_backup_enabled = false
container_insights = false
}
- Planka Infrastructure as Code Module
- Open source project tracking as Kanban boards