Skip to content

Commit

Permalink
[pipeline update]
Browse files Browse the repository at this point in the history
  • Loading branch information
alvo254 committed Jun 12, 2024
1 parent 22b7f16 commit dbff006
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ env:
DOCKER_REPOSITORY: alvin254/fitnesshero # set this to your Docker Hub repository name
ECS_SERVICE: app-service # set this to your Amazon ECS service name
ECS_CLUSTER: cloudific # set this to your Amazon ECS cluster name
ECS_TASK_DEFINITION: MY_ECS_TASK_DEFINITION # set this to the path to your Amazon ECS task definition file
CONTAINER_NAME: MY_CONTAINER_NAME # set this to the name of the container in your task definition
ECS_TASK_DEFINITION: modules/ecs/container_definitions.json # set this to the path to your Amazon ECS task definition file
CONTAINER_NAME: app # set this to the name of the container in your task definition

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions modules/ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ resource "aws_iam_role_policy_attachment" "ecs_cloudwatch_logs_policy" {
role = aws_iam_role.ecs_exec_role.name
policy_arn = "arn:aws:iam::aws:policy/CloudWatchLogsFullAccess"
}

locals {
container_definitions = jsonencode([
{
Expand Down

0 comments on commit dbff006

Please sign in to comment.