Create a CloudFormation stack from a local template.
Section: Stacks
Create a stack
bash
bash
aws cloudformation create-stack --stack-name app-prod --template-body file://template.yaml --capabilities CAPABILITY_NAMED_IAMExplanation
Use `--parameters` for runtime values and acknowledge IAM capability when needed.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Stacks
Update a stack
Update an existing stack with a new template or parameters.
Validate a template
Check a template for basic syntax and structural validity.
Deploy a stack with package-style semantics
Create or update a stack using `deploy`.