Loading README.md +2 −2 Original line number Diff line number Diff line Loading @@ -363,13 +363,13 @@ params_opts="--parameters ParameterKey=EnvType,ParameterValue=$environment_type if aws cloudformation describe-stacks --output text --stack-name "$environment_name" > /dev/null then echo -e "Stack exists: update..." aws cloudformation update-stack --output text --stack-name "$environment_name" --template-body $template_file $parameters aws cloudformation update-stack --output text --stack-name "$environment_name" --template-body $template_file $params_opts echo "Waiting for stack to be updated..." aws cloudformation wait stack-update-complete --stack-name "$environment_name" else echo -e "Stack doesn't exist: create..." aws cloudformation create-stack --output text --stack-name "$environment_name" --template-body $template_file $parameters aws cloudformation create-stack --output text --stack-name "$environment_name" --template-body $template_file $params_opts echo "Waiting for stack to be created..." aws cloudformation wait stack-create-complete --stack-name "$environment_name" Loading Loading
README.md +2 −2 Original line number Diff line number Diff line Loading @@ -363,13 +363,13 @@ params_opts="--parameters ParameterKey=EnvType,ParameterValue=$environment_type if aws cloudformation describe-stacks --output text --stack-name "$environment_name" > /dev/null then echo -e "Stack exists: update..." aws cloudformation update-stack --output text --stack-name "$environment_name" --template-body $template_file $parameters aws cloudformation update-stack --output text --stack-name "$environment_name" --template-body $template_file $params_opts echo "Waiting for stack to be updated..." aws cloudformation wait stack-update-complete --stack-name "$environment_name" else echo -e "Stack doesn't exist: create..." aws cloudformation create-stack --output text --stack-name "$environment_name" --template-body $template_file $parameters aws cloudformation create-stack --output text --stack-name "$environment_name" --template-body $template_file $params_opts echo "Waiting for stack to be created..." aws cloudformation wait stack-create-complete --stack-name "$environment_name" Loading