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

View File

@@ -11,6 +11,24 @@ Intro
## TL;DR ## TL;DR
<!-- Uncomment if needed
<details>
<summary>Installation</summary>
</details>
-->
<!-- Uncomment if needed
<details>
<summary>Usage</summary>
</details>
-->
<!-- Uncomment if needed
<details>
<summary>Real world use cases</summary>
</details>
-->
## Further readings ## Further readings
### Sources ### Sources