Skip to content

Commit

Permalink
[container_definiations.yaml update]
Browse files Browse the repository at this point in the history
  • Loading branch information
alvo254 committed Jun 10, 2024
1 parent c866c38 commit 1d24512
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ env:
DOCKER_REPOSITORY: alvin254/fitnesshero
ECS_SERVICE: app-service
ECS_CLUSTER: cloudific
ECS_TASK_DEFINITION: modules/ecs/container_definitions.yaml
ECS_TASK_DEFINITION: modules/ecs/container_definitions.json
CONTAINER_NAME: app

permissions:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion modules/ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource "aws_ecs_task_definition" "cloudific" {
execution_role_arn = aws_iam_role.ecs_exec_role.arn
cpu = "256" // CPU value defined at task level
memory = "512" // Memory value defined at task level
container_definitions = file("${path.module}/container_definitions.yaml")
container_definitions = file("${path.module}/container_definitions.json")
}

resource "aws_ecs_service" "app_service" {
Expand Down

0 comments on commit 1d24512

Please sign in to comment.