Skip to content

Commit

Permalink
deployment_circuit_breaker is a block not a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hobson committed Aug 4, 2023
1 parent ee4391a commit 08d3280
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,10 @@ resource "aws_ecs_service" "main" {

enable_ecs_managed_tags = var.enable_ecs_managed_tags

deployment_circuit_breaker = var.ecs_deployment_circuit_breaker
deployment_circuit_breaker {
enable = var.ecs_deployment_circuit_breaker.enable
rollback = var.ecs_deployment_circuit_breaker.rollback
}

dynamic "service_registries" {
for_each = var.service_registries
Expand Down

0 comments on commit 08d3280

Please sign in to comment.