You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
AWS SSM Send-Command
0.0.2
This action execute AWS SSM Send-Command by using SSM document AWS-RunShellScript.
- AWS IAM
- aws-actions/configure-aws-credentials@v1
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id:
${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: $ {{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ap-northeast-2
Before using this actions, you have to set AWS IAM and Github Actions for AWS Authentication.
Required The name of the person to greet. Default "World"
.
Required Bash command you want to execute in a EC2 Computer.
for comment.
Where bash command executes.
The time we greeted you.
uses: peterkimzz/aws-ssm-send-command
with:
instance-ids: i-xxxxxxxx
commands: ls -al
comment: Print files
working-directory: /home/ubuntu