diff --git a/terraform/cloudfront.tf b/terraform/cloudfront.tf index d04139c..31efd7e 100644 --- a/terraform/cloudfront.tf +++ b/terraform/cloudfront.tf @@ -4,6 +4,7 @@ resource "aws_cloudfront_distribution" "main" { is_ipv6_enabled = true http_version = "http2and3" aliases = local.domains + web_acl_id = "arn:aws:wafv2:us-east-1:172019762325:global/webacl/rezultatevot-v2-production/99d07f5f-8a55-43aa-9e6c-01b82543c3ff" origin { domain_name = aws_lb.main.dns_name diff --git a/terraform/service_app.tf b/terraform/service_app.tf index 9cde9b7..ad51713 100644 --- a/terraform/service_app.tf +++ b/terraform/service_app.tf @@ -7,8 +7,8 @@ module "ecs_app" { name = "${local.namespace}-app" cluster_name = module.ecs_cluster.cluster_name - min_capacity = 6 - max_capacity = 9 + min_capacity = 9 + max_capacity = 18 deployment_minimum_healthy_percent = 50 deployment_maximum_percent = 200