From 9dd252b0c5d68ab6ebaed96c99c7a7d3a6abedda Mon Sep 17 00:00:00 2001 From: Alex Pulver Date: Mon, 18 May 2020 08:53:40 +0300 Subject: [PATCH] Fix delete-route parameter name Was --mesh, should be --mesh-name --- content/cleanup/appmesh.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/cleanup/appmesh.md b/content/cleanup/appmesh.md index 334ecb6..c06a74e 100644 --- a/content/cleanup/appmesh.md +++ b/content/cleanup/appmesh.md @@ -32,7 +32,7 @@ jq -r ' .virtualRouters[] | [.virtualRouterName] | @tsv ' | \ jq -r ' .routes[] | [ .routeName] | @tsv ' | \ while IFS=$'\t' read -r routeName; do aws appmesh delete-route \ - --mesh appmesh-workshop \ + --mesh-name appmesh-workshop \ --virtual-router-name $virtualRouterName \ --route-name $routeName done @@ -62,4 +62,4 @@ jq -r ' .virtualNodes[] | [.virtualNodeName] | @tsv ' | \ # Delete app mesh mesh # aws appmesh delete-mesh \ --mesh-name appmesh-workshop -``` \ No newline at end of file +```