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

GitHub Action

AWS SSM Send-Command

0.0.1 Pre-release

AWS SSM Send-Command

arrow-up-right

AWS SSM Send-Command

Remote EC2 bash command execution

Installation

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

              

- name: AWS SSM Send-Command

uses: peterkimzz/[email protected]

Learn more about this action in peterkimzz/aws-ssm-send-command

Choose a version

AWS SSM Send-Command

This action execute AWS SSM Send-Command by using SSM document AWS-RunShellScript.

Inputs

intance-id

Required The name of the person to greet. Default "World".

commands

Required Bash command you want to execute in a EC2 Computer.

comment

for comment.

working-directory

Where bash command executes.

Outputs

time

The time we greeted you.

Example usage

uses: peterkimzz/aws-ssm-send-command
with:
  instances-id: i-xxxxxxxx
  commands: ls -al
  comment: Print files
  working-directory: /home/ubuntu