Provision a Stack
A 4-step recipe with AWS CloudFormation. We can help you get access.
Recipe · 4 steps
Provision a Stack
with AWS CloudFormation · IT Infrastructure Management
Validate a template and provision a CloudFormation stack to completion.
- Validate the template body before any resources are created so structural or reference errors are surfaced up front.
- Create the stack from the validated template. After this call returns the stack creation has started and can be polled via DescribeStacks.
- Poll DescribeStacks until the stack settles. Branch to listing resources when CREATE_COMPLETE is reached, or to a failure end on a rollback or failed terminal state.
- List the resources CloudFormation provisioned for the completed stack.
What you'll need to have ready
- stackName: The name to assign to the new stack. Unique within the region.
- templateBody: The CloudFormation template body (JSON or YAML) to provision.
- capability: An optional capability to acknowledge (e.g. CAPABILITY_IAM).
For your developer
Arazzo workflow cloudformation:provision-stack, 4 operations: validateTemplate → createStack → describeStacks → listStackResources. Specs on APIs.io.