Skip to content

Commit

Permalink
fix(infra): update minimum allocated storage to aws minimum (#406)
Browse files Browse the repository at this point in the history
* fix(infra): update minimum allocated storage to aws minimum

* fix(infra): use numbers instead of string notation for mem/cpu

---------

Co-authored-by: Lucian Hymer <[email protected]>
  • Loading branch information
tim-schultz and lucianHymer authored Sep 25, 2023
1 parent 0319f55 commit 21c1ed1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infra/review/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const db_secgrp = new aws.ec2.SecurityGroup(`scorer-db-secgrp`, {
const postgresql = new aws.rds.Instance(
`scorer-db`,
{
allocatedStorage: 12,
allocatedStorage: 20,
engine: "postgres",
// engineVersion: "5.7",
instanceClass: "db.t3.micro",
Expand Down Expand Up @@ -609,8 +609,8 @@ const celery1 = new awsx.ecs.FargateService("scorer-bkgrnd-worker-registry", {
executionRole: {
roleArn: workerRole.arn,
},
cpu: "1vCPU",
memory: "2GB",
cpu: "1024",
memory: "2048",
containers: {
worker1: {
name: "worker1",
Expand Down

0 comments on commit 21c1ed1

Please sign in to comment.