Skip to content

Commit

Permalink
FIX: add cluster name to gh action to stop ingestion
Browse files Browse the repository at this point in the history
also remove unneeded echo statement.
  • Loading branch information
mzappitello committed Oct 11, 2023
1 parent 4f655d6 commit 3c7cd59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/change_ingestion_task_count.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: echo command
run: echo "ecs update-service --service lamp-ingestion-${{ github.event.inputs.environment }} --desired-count ${{ github.event.inputs.new_count }}"
- name: run command
run: aws ecs update-service --service lamp-ingestion-${{ github.event.inputs.environment }} --desired-count ${{ github.event.inputs.new_count }}
run: aws ecs update-service --cluster lamp --service lamp-ingestion-${{ github.event.inputs.environment }} --desired-count ${{ github.event.inputs.new_count }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit 3c7cd59

Please sign in to comment.