From a08c8b44d576dfbc8123f9ff02e036addce51d2c Mon Sep 17 00:00:00 2001 From: Viren Nadkarni Date: Thu, 9 Nov 2023 12:10:43 +0530 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Dominik Schubert --- content/en/user-guide/aws/elasticache/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/user-guide/aws/elasticache/index.md b/content/en/user-guide/aws/elasticache/index.md index 1df32c15f3..0b95a0cd9b 100644 --- a/content/en/user-guide/aws/elasticache/index.md +++ b/content/en/user-guide/aws/elasticache/index.md @@ -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 @@ -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 >}} @@ -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 >}}