You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: content/en/user-guide/aws/ssm/index.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ You can copy the `InstanceId` value and use it in the following commands.
69
69
70
70
### Send command using SSM
71
71
72
-
You can use the [`SendCommand`](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_SendCommand.html) API to send commands to the EC2 instance.
72
+
You can use the [`SendCommand`](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_SendCommand.html) API to send a command to the EC2 instance.
73
73
The following command sends a `cat lsb-release`commandin the `/etc` directory to the EC2 instance.
74
74
75
75
{{<command>}}
@@ -149,5 +149,6 @@ The following table highlights some differences between LocalStack SSM and AWS S
149
149
The other limitations of LocalStack SSM are:
150
150
151
151
- Dockerized instances only support `AWS-RunShellScript` commands.
152
+
- [`SendCommand`](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_SendCommand.html) only runs 1 command per invocation and will ignore multiple commands passed as an array, starting from the 2nd one.
152
153
- Commands returning non-zero codes won't capture standard output or error streams, leaving them empty.
153
154
- Shell constructs such as job controls (`&&`, `||`), and redirection (`>`) are not supported.
0 commit comments