Skip to content

Commit

Permalink
[Issue #1805] Doubles DB scaling (again) (#1827)
Browse files Browse the repository at this point in the history
## Summary

Fixes #1805

### Time to review: __1 mins__
  • Loading branch information
coilysiren authored Apr 24, 2024
1 parent 2414eab commit a053710
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions infra/api/app-config/dev.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module "dev_config" {
has_database = local.has_database
database_enable_http_endpoint = true
has_incident_management_service = local.has_incident_management_service
database_max_capacity = 2
database_min_capacity = 1
database_max_capacity = 4
database_min_capacity = 2

service_override_extra_environment_variables = {
# determines whether the v0.1 endpoints are available in the API
Expand Down
4 changes: 2 additions & 2 deletions infra/api/app-config/prod.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module "prod_config" {
database_instance_count = 2
database_enable_http_endpoint = true
has_incident_management_service = local.has_incident_management_service
database_max_capacity = 4
database_min_capacity = 1
database_max_capacity = 8
database_min_capacity = 2

service_override_extra_environment_variables = {
# determines whether the v0.1 endpoints are available in the API
Expand Down
4 changes: 2 additions & 2 deletions infra/api/app-config/staging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module "staging_config" {
has_database = local.has_database
database_enable_http_endpoint = true
has_incident_management_service = local.has_incident_management_service
database_max_capacity = 2
database_min_capacity = 1
database_max_capacity = 4
database_min_capacity = 2

service_override_extra_environment_variables = {
# determines whether the v0.1 endpoints are available in the API
Expand Down

0 comments on commit a053710

Please sign in to comment.