diff --git a/content/prerequisites/deploycfn.md b/content/prerequisites/deploycfn.md index a67e6ea..512fedb 100644 --- a/content/prerequisites/deploycfn.md +++ b/content/prerequisites/deploycfn.md @@ -19,7 +19,7 @@ IAM_ROLE=$(curl -s 169.254.169.254/latest/meta-data/iam/info | \ jq -r '.InstanceProfileArn' | cut -d'/' -f2) #Check if the template is already deployed. If not, deploy it -CFN_TEMPLATE=$(aws cloudformation list-stacks | jq -c '.StackSummaries[].StackName | select( . == "appmesh-workshop" )') +CFN_TEMPLATE=$(aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE | jq -c '.StackSummaries[].StackName | select( . == "appmesh-workshop" )') if [ -z "$CFN_TEMPLATE" ] then