Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
code

GitHub Action

AWS SSM Run Command

v1

AWS SSM Run Command

code

AWS SSM Run Command

Github Action for running commands on Linux or Windows machine managed using SSM

Installation

Copy and paste the following snippet into your .yml file.

              

- name: AWS SSM Run Command

uses: debugger24/action-aws-ssm-run-command@v1

Learn more about this action in debugger24/action-aws-ssm-run-command

Choose a version

GitHub Action - AWS SSM Run Command

Github Action for running commands on Linux or Windows machine managed using SSM

Usage

- name: Execute command
  uses: debugger24/action-aws-ssm-run-command@v1
  with:
      aws-region: us-east-1
      instance-ids: |
        instance_id_1
        instance_id_2
      commands: |
        pwd
        ls
        echo "Executed by Github Actions Workflow #${{ github.run_id }}" >> test.txt