chore(kb): split tldr in generic usage and real world examples

This commit is contained in:
Michele Cereda
2024-03-09 11:23:21 +01:00
parent fee07c2f4f
commit 2b6e244b06
2 changed files with 27 additions and 0 deletions

View File

@@ -8,6 +8,9 @@
## TL;DR
<details>
<summary>Usage</summary>
```sh
# Start sessions.
aws ssm start-session --target 'instance-id'
@@ -19,6 +22,12 @@ aws ssm start-session \
--parameters '{"logpath":["/var/log/amazon/ssm/amazon-ssm-agent.log"]}'
```
</details>
<details>
<summary>Real world use cases</summary>
</details>
## Gotchas
- SSM starts shell sessions under `/usr/bin` ([source][how can i change the session manager shell to bash on ec2 linux instances?]):