Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP-663 Keep only 1 task running for now #679

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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