Skip to content

Commit

Permalink
IoT endpoint are now fully qualified
Browse files Browse the repository at this point in the history
  • Loading branch information
viren-nadkarni committed Nov 8, 2023
1 parent 7e6bac2 commit d9a4cd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/en/user-guide/aws/iot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To retrieve the MQTT endpoint, use the [`DescribeEndpoint`](https://docs.aws.ama
{{< command >}}
$ awslocal iot describe-endpoint
{
"endpointAddress": "localhost.localstack.cloud:4510"
"endpointAddress": "000000000000.iot.eu-central-1.localhost.localstack.cloud:4510"
}
{{< / command >}}

Expand All @@ -45,7 +45,7 @@ Run the following command to subscribe to an MQTT topic.

{{< command >}}
$ mqtt subscribe \
--host localhost.localstack.cloud \
--host 000000000000.iot.eu-central-1.localhost.localstack.cloud \
--port 4510 \
--topic climate
{{< /command >}}
Expand All @@ -54,8 +54,8 @@ In another terminal, publish a message to this topic.

{{< command >}}
$ mqtt publish \
--host localhost.localstack.cloud \
--port 4511 \
--host 000000000000.iot.eu-central-1.localhost.localstack.cloud \
--port 4510 \
--topic climate \
-m "temperature=30°C;humidity=60%"
{{< /command >}}
Expand Down

0 comments on commit d9a4cd3

Please sign in to comment.