Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Update deploycfn.md CFN_TEMPLATE check #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/prerequisites/deploycfn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 UPDATE_COMPLETE | jq -c '.StackSummaries[].StackName | select( . == "appmesh-workshop" )')

if [ -z "$CFN_TEMPLATE" ]
then
Expand Down