Deploying and testing an ECS cluster

You have now completed the configuration of your CloudFormation template, and it's time to deploy the changes you made in the previous section. Recall that you created a separate configuration file, called dev.cfg, to store values for each stack parameter. The following example demonstrates how you can now use the aws cloudformation deploy command to deploy your updated stack and reference your input parameter values:

> aws cloudformation deploy --template-file stack.yml \    --stack-name todobackend --parameter-overrides $(cat dev.cfg) \    --capabilities CAPABILITY_NAMED_IAMWaiting for changeset to be created..Waiting for stack create/update to completeSuccessfully created/updated stack - todobackend
Deploying ...

Get Docker on Amazon Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.