just minor terraform updates.

This commit is contained in:
2022-07-09 07:50:47 -07:00
parent 8316f35072
commit 892674343d
2 changed files with 20 additions and 2 deletions

View File

@@ -47,7 +47,6 @@ resource "aws_ecs_service" "integreat_app" {
type = "ECS"
}
scheduling_strategy = "REPLICA"
launch_type = "FARGATE"
platform_version = "LATEST"
network_configuration {
@@ -67,6 +66,25 @@ resource "aws_ecs_service" "integreat_app" {
registry_arn = aws_service_discovery_service.service.arn
}
capacity_provider_strategy {
base = 0
capacity_provider = "FARGATE_SPOT"
weight = 5
}
capacity_provider_strategy {
base = 1
capacity_provider = "FARGATE"
weight = 1
}
deployment_circuit_breaker {
enable = false
rollback = false
}
wait_for_steady_state = true
timeouts {}
lifecycle {
ignore_changes = [task_definition]