Skip to content

Commit

Permalink
Restrict deployment and reset CPU to required Fargate values (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorjackz authored Dec 22, 2020
1 parent 3c4e15d commit 1e3b582
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
# See the documentation for each action used below for the recommended IAM policies for this IAM user,
# and best practices on handling the access key credentials.

# on:
# release:
# types: [created]

on:
push:
branches:
- main
release:
types: [created]

# on:
# push:
# branches:
# - main

name: Deploy to Amazon ECS

Expand Down
4 changes: 2 additions & 2 deletions ecs-task-def.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@
}
],
"placementConstraints": [],
"memory": "256",
"memory": "512",
"taskRoleArn": "arn:aws:iam::474608071686:role/ecsTaskExecutionRole",
"family": "node-server-task",
"pidMode": null,
"requiresCompatibilities": [
"FARGATE"
],
"networkMode": "awsvpc",
"cpu": "64",
"cpu": "256",
"inferenceAccelerators": null,
"proxyConfiguration": null,
"volumes": []
Expand Down

0 comments on commit 1e3b582

Please sign in to comment.