Skip to content

Commit

Permalink
chore: Bump Hasura Fargate task CPU and memory (production) (#3288)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Jun 19, 2024
1 parent 1b59cca commit b1e0672
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions infrastructure/application/Pulumi.production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ config:
secure: AAABADo05EPv/HWj7Rkf19nBeTcPJd4pEcRi2/uhyB3agraFODpLvNMx2bXfISf5pZ4HA41GYCE4f7OLcJN6hIV6ZMWUlEriPzvkoUAixbLlz1LIERiyk73R8E4F2bV65/9aFqi4l7caLS5c8iDJrE+JAvu2i7oS
application:hasura-admin-secret:
secure: AAABAHfDtVpAD8w32yINWTjgvuRQixWXYFf3/rEcyh59/pRSz+J4ZYCXNq5jqBiIXM2emB+7zOY=
application:hasura-cpu: "512"
application:hasura-memory: "2048"
application:hasura-planx-api-key:
secure: AAABAExsXFL7HabeK0Z1oSUJzI2NqVqEmKJ1ojYXyX4Hi8Sbt1Ht9QJc/Yn3cPBAB2r32HKa4HtqqLmfGjS+04lFB/I=
application:jwt-secret:
Expand Down
2 changes: 2 additions & 0 deletions infrastructure/application/Pulumi.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ config:
secure: AAABACgwjEmlLmE19ofRO8e/JpD8sHDV2lcDmSXbU/Mw8ZRh5gTgll8DZ3BVjpDWfQfIecBAIf2TFgeo9CsBSLjfaRJ7eJyKDSWm7i8LlMC2JN/PN+Ig8oeI0H0oLkqJIziNKKjx+e97zDiXO9LZ1CVzrywR
application:hasura-admin-secret:
secure: AAABAHsoh7ZNkr6ep3xXsUZpp/JIjshBX+tJ0KOFgGnJ4wxR0oIcB6VewVDuwSyFJRVix72YahM=
application:hasura-cpu: "256"
application:hasura-memory: "1024"
application:hasura-planx-api-key:
secure: AAABANHLs3ItPxkteh0chwMP2bKuHO3ovuRLi4FsIrCqerzXVIaTLFDqNR+4KBTeMPz4cnF5tCTwsrJv9GruZdXU+lg=
application:jwt-secret:
Expand Down
5 changes: 3 additions & 2 deletions infrastructure/application/services/hasura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ export const createHasuraService = async ({
},
hasura: {
image: repo.buildAndPushImage("../../hasura.planx.uk"),
memory: 1024 /*MB*/,
cpu: config.requireNumber("hasura-cpu"),
memory: config.requireNumber("hasura-memory"),
environment: [
{ name: "HASURA_GRAPHQL_ENABLE_CONSOLE", value: "true" },
{
Expand Down Expand Up @@ -106,7 +107,7 @@ export const createHasuraService = async ({
},
],
},
}
},
},
desiredCount: 1,
});
Expand Down

0 comments on commit b1e0672

Please sign in to comment.