Skip to content

Commit

Permalink
Merge pull request #3563 from GSA-TTS/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm authored Mar 27, 2024
2 parents f79d527 + 2dd46d9 commit 9c9f30e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/manifests/vars/vars-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cf_env_name: PRODUCTION
env_name: prod
service_name: production
endpoint: app.fac.gov
instances: 6
instances: 8
2 changes: 1 addition & 1 deletion terraform/dev/dev.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module "dev" {
new_relic_license_key = var.new_relic_license_key
pgrst_jwt_secret = var.pgrst_jwt_secret

database_plan = "micro-psql"
database_plan = "medium-gp-psql"
postgrest_instances = 1
swagger_instances = 1
https_proxy_instances = 1
Expand Down
3 changes: 2 additions & 1 deletion terraform/production/production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ module "production" {
cf_space_name = "production"
new_relic_license_key = var.new_relic_license_key
pgrst_jwt_secret = var.pgrst_jwt_secret
clamav_instances = 6
clamav_instances = 8
database_plan = "xlarge-gp-psql-redundant"
postgrest_instances = 4
json_params = jsonencode(
{
"storage" : 50,
Expand Down
2 changes: 1 addition & 1 deletion terraform/shared/modules/env/postgrest.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "cloudfoundry_app" "postgrest" {
space = data.cloudfoundry_space.apps.id
docker_image = "ghcr.io/gsa-tts/fac/postgrest@${data.docker_registry_image.postgrest.sha256_digest}"
timeout = 180
memory = 512
memory = 1024
disk_quota = 256
instances = var.postgrest_instances
strategy = "rolling"
Expand Down

0 comments on commit 9c9f30e

Please sign in to comment.