Skip to content

Commit

Permalink
Update example for AWSCLI v2. (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermckinnon authored Aug 23, 2022
1 parent 4d79489 commit 2acffd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions log-collector-script/linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ Trying to archive gathered information...

#### *To invoke SSM agent to run EKS log collector script and push bundle to S3 from Worker Node(s):*

1. Create the SSM document named "EKSLogCollector" using the following command: <br/>
1. Create the SSM document named "EKSLogCollector" using the following commands: <br/>
```
aws ssm create-document --name "EKSLogCollector" --document-type "Command" --content https://raw.githubusercontent.com/awslabs/amazon-eks-ami/master/log-collector-script/linux/eks-ssm-content.json
curl -O https://raw.githubusercontent.com/awslabs/amazon-eks-ami/master/log-collector-script/linux/eks-ssm-content.json
aws ssm create-document --name "EKSLogCollector" --document-type "Command" --content file://eks-ssm-content.json
```
2. To execute the bash script in the SSM document and to collect the logs from worker, run the following command: <br/>
```
Expand Down

0 comments on commit 2acffd1

Please sign in to comment.