Skip to content

Commit

Permalink
DP-663 Keep only 1 task running for now
Browse files Browse the repository at this point in the history
  • Loading branch information
webit4me committed Sep 30, 2024
1 parent 246ec96 commit 52d6770
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions terragrunt/components/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -118,108 +118,111 @@ locals {
public_hosted_zone = "${local.environments[local.environment].name}.supplier.information.${local.environments[local.environment].top_level_domain}"
}

desired_count_non_production = 1
desired_count_production = 1

service_configs_scaling_non_production = {
authority = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
data_sharing = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
entity_verification = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
entity_verification_migrations = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
forms = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
organisation = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
organisation_app = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
organisation_information_migrations = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
person = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
tenant = {
cpu = 256
desired_count = 1
desired_count = local.desired_count_non_production
memory = 512
}
}

service_configs_scaling_production = {
authority = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
data_sharing = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
entity_verification = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
entity_verification_migrations = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
forms = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
organisation = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
organisation_app = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
organisation_information_migrations = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
person = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
tenant = {
cpu = 256
desired_count = 2
desired_count = local.desired_count_production
memory = 512
}
}
Expand Down

0 comments on commit 52d6770

Please sign in to comment.