Skip to content

Commit 99955fd

Browse files
authored
[no ticket] Scales nofos down to minimums (#5045)
## Context NOFOs doesn't need to amount of resources that grants.gov application does
1 parent 8b17948 commit 99955fd

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

infra/nofos/app-config/dev.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ module "dev_config" {
88
domain_name = null
99
enable_https = false
1010

11-
instance_desired_instance_count = 2
12-
instance_scaling_min_capacity = 2
13-
instance_scaling_max_capacity = 2
11+
instance_desired_instance_count = 1
12+
instance_scaling_min_capacity = 1
13+
instance_scaling_max_capacity = 1
1414

15-
database_min_capacity = 2
16-
database_max_capacity = 2
17-
database_instance_count = 2
15+
database_min_capacity = 1
16+
database_max_capacity = 1
17+
database_instance_count = 1
1818

1919
service_override_extra_environment_variables = {}
2020
}

infra/nofos/app-config/prod.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ module "prod_config" {
88
domain_name = null
99
enable_https = false
1010

11-
instance_desired_instance_count = 2
12-
instance_scaling_min_capacity = 2
13-
instance_scaling_max_capacity = 2
11+
instance_desired_instance_count = 1
12+
instance_scaling_min_capacity = 1
13+
instance_scaling_max_capacity = 1
1414

15-
database_min_capacity = 2
16-
database_max_capacity = 2
17-
database_instance_count = 2
15+
database_min_capacity = 1
16+
database_max_capacity = 1
17+
database_instance_count = 1
1818

1919
service_override_extra_environment_variables = {}
2020
}

infra/nofos/app-config/staging.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ module "staging_config" {
88
domain_name = null
99
enable_https = false
1010

11-
instance_desired_instance_count = 2
12-
instance_scaling_min_capacity = 2
13-
instance_scaling_max_capacity = 2
11+
instance_desired_instance_count = 1
12+
instance_scaling_min_capacity = 1
13+
instance_scaling_max_capacity = 1
1414

15-
database_min_capacity = 2
16-
database_max_capacity = 2
17-
database_instance_count = 2
15+
database_min_capacity = 1
16+
database_max_capacity = 1
17+
database_instance_count = 1
1818

1919
service_override_extra_environment_variables = {}
2020
}

0 commit comments

Comments
 (0)