Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik Schubert <[email protected]>
  • Loading branch information
viren-nadkarni and dominikschubert authored Nov 9, 2023
1 parent e84eb85 commit a08c8b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/en/user-guide/aws/elasticache/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $ awslocal elasticache create-cache-cluster \
Wait for it to be available, then you can use the cluster endpoint for Redis operations.

{{< command >}}
$ awslocal elasticache describe-cache-clusters --show-cache-node-info | jq '.CacheClusters[0].CacheNodes[0].Endpoint'
$ awslocal elasticache describe-cache-clusters --show-cache-node-info --query "CacheClusters[0].CacheNodes[0].Endpoint"
{
"Address": "localhost.localstack.cloud",
"Port": 4510
Expand Down Expand Up @@ -82,7 +82,7 @@ To retrieve the primary endpoint:

{{< command >}}
$ awslocal elasticache describe-replication-groups --replication-group-id my-redis-replication-group \
| jq ".ReplicationGroups[0].NodeGroups[0].PrimaryEndpoint"
--query "ReplicationGroups[0].NodeGroups[0].PrimaryEndpoint"
{{< /command >}}


Expand All @@ -104,7 +104,7 @@ Note that the group nodes do not have a primary endpoint. Instead they have a `C

{{< command >}}
$ awslocal elasticache describe-replication-groups --replication-group-id my-clustered-redis-replication-group \
| jq ".ReplicationGroups[0].ConfigurationEndpoint"
--query "ReplicationGroups[0].ConfigurationEndpoint"
{{< /command >}}


Expand Down

0 comments on commit a08c8b4

Please sign in to comment.