Skip to content

Commit

Permalink
infra: scale up (#95)
Browse files Browse the repository at this point in the history
* infra: scale up

* waf
  • Loading branch information
andreiio authored Nov 24, 2024
1 parent 9fd6ff5 commit 44299bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions terraform/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions terraform/service_app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44299bc

Please sign in to comment.