Skip to content

Commit

Permalink
feat(infra): add capacity provider strategy to ecs cluster (#2026)
Browse files Browse the repository at this point in the history
* feat(infra): add capacity provider strategy to ecs cluster

* feat(infra): modify weight of capacity provider strategy to 1
  • Loading branch information
ssupecial authored Aug 28, 2024
1 parent 8337b68 commit 60082ae
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ resource "aws_ecs_cluster" "this" {
resource "aws_ecs_cluster_capacity_providers" "this" {
cluster_name = aws_ecs_cluster.this.name
capacity_providers = [aws_ecs_capacity_provider.this.name]

default_capacity_provider_strategy {
capacity_provider = aws_ecs_capacity_provider.this.name
weight = 1
base = 1
}
}

0 comments on commit 60082ae

Please sign in to comment.