Skip to content

Module for creating ECS cluster (Linux/Windows) not just for EC2 launch type • This repository is defined and managed in Terraform

License

Notifications You must be signed in to change notification settings

ministryofjustice/modernisation-platform-terraform-ecs-cluster

Repository files navigation

modernisation-platform-terraform-ecs-cluster

Standards Icon Format Code Icon Scorecards IconSCA Icon Terraform SCA Icon

Modules

This repository provides 3 Terraform Modules:

terraform-docs for the modules can be found in their respective readme's.

The aim is to provide a reusable framework to deploy ECS and it's associated services in a way that integrates well with the rest of the modernisation platform environments.

Whilst these modules are flexible, they have been designed to work together. The use case behind them is that the services/tasks/containers (using the service module) can be deployed independently of the cluster. This means that the ECS Cluster (deployed using the cluster module) can be provisioned at environment build time and services/tasks/containers can be provisioned in a seperate process. Importantly, this unlinks the state of the two so that services/tasks/containers can be updated without the need to touch the platform or environment.

This module is used to deploy an ECS cluster with fargate support.

This module creates a container definition, allowing it to be managed in HCL, but outputs as a JSON object or a JSON object in a list.

This module is used to deploy an ECS Service and/or task definitions onto an ECS Cluster.

Examples

For examples of the modules individually, please see the readme's linked in section 1

Looking for issues?

If you're looking to raise an issue with this module, please create a new issue in the issue tracker..

About

Module for creating ECS cluster (Linux/Windows) not just for EC2 launch type • This repository is defined and managed in Terraform

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published