Skip to content

Instantly share code, notes, and snippets.

@amacal
Created November 22, 2020 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amacal/5f4e2859e00b9a13eae49420a3a6abc4 to your computer and use it in GitHub Desktop.
Save amacal/5f4e2859e00b9a13eae49420a3a6abc4 to your computer and use it in GitHub Desktop.
resource "aws_ecs_cluster" "cluster" {
name = "wikipedia"
capacity_providers = ["FARGATE_SPOT"]
default_capacity_provider_strategy {
capacity_provider = "FARGATE_SPOT"
weight = 100
}
setting {
name = "containerInsights"
value = "enabled"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment