Skip to content

Commit

Permalink
Adds cluster to ECS service ARN when not empty (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-carey authored Mar 22, 2023
1 parent e8a381b commit 1134b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/register-task-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ permissions:

env:
DEPLOY_IAM_ROLE: arn:aws:iam::${{ secrets.aws-account-id }}:role/${{ inputs.role-name }}
ECS_SERVICE_ARN: arn:aws:ecs:${{ inputs.aws-region }}:${{ secrets.aws-account-id }}:service/${{ inputs.service }}
ECS_SERVICE_ARN: arn:aws:ecs:${{ inputs.aws-region }}:${{ secrets.aws-account-id }}:service/${{ inputs.cluster && format('{0}/', inputs.cluster) }}${{ inputs.service }}

defaults:
run:
Expand Down

0 comments on commit 1134b0d

Please sign in to comment.