youyo / terraform-aws-ecs-fargate

Terraform module which creates ECS resources on AWS.

Home Page:https://registry.terraform.io/modules/youyo/ecs-fargate/aws/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Lambda Terraform module

Terraform module which creates ECS resources on AWS.

Requiirements

  • Terraform version > 0.12

Usage

module "ecs_fargate_cluster" {
  source = "youyo/ecs-fargate/aws"

  name                                                 = "my-cluster"
  capacity_providers                                   = ["FARGATE", "FARGATE_SPOT"]
  enable_container_insights                            = true
  default_capacity_provider_strategy_capacity_provider = "FARGATE_SPOT"
  default_capacity_provider_strategy_base              = 0
  default_capacity_provider_strategy_weight            = 1

  tags = {
    Env = "production"
  }
}

About

Terraform module which creates ECS resources on AWS.

https://registry.terraform.io/modules/youyo/ecs-fargate/aws/

License:MIT License


Languages

Language:HCL 100.0%