diff --git a/.github/workflows/run-ec2.yml b/.github/workflows/run-ec2.yml index eb110502..4b0c8044 100644 --- a/.github/workflows/run-ec2.yml +++ b/.github/workflows/run-ec2.yml @@ -1,6 +1,15 @@ name: do-the-job on: workflow_dispatch: + inputs: + aws_region: + description: 'AWS_REGION' + required: true + default: 'eu-west-2' + type: choice + options: + - 'eu-west-2' + jobs: start-runner: @@ -15,7 +24,7 @@ jobs: with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.AWS_REGION }} + aws-region: inputs.aws_region - name: Start EC2 runner id: start-ec2-runner uses: machulav/ec2-github-runner@v2