cloudformation

Automate AWS CloudFormation stack lifecycle management via the AWS CLI.

3|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/david-2814/claw-aws --skill cloudformation-david-2814
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudformation
Source: https://github.com/david-2814/claw-aws/tree/main/skills/cloudformation
Command: npx skills add https://github.com/david-2814/claw-aws --skill cloudformation-david-2814

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CloudFormation enables infrastructure-as-code deployments, but managing stacks via the AWS CLI can be error-prone without structured guidance and safety checks.

Core Features & Use Cases

  • Create, update, validate, monitor, and delete CloudFormation stacks from templates.
  • Use change sets to preview changes before applying updates and detect drift to keep stacks aligned with templates.
  • Troubleshoot deployments with stack events, resource interactions, and structured outputs to accelerate debugging.
  • Include safety practices like required capabilities and termination protection to minimize risks in production.

Quick Start

Configure AWS CLI with valid credentials and deploy a sample CloudFormation stack from a local template.

Frequently Asked Questions about cloudformation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate CloudFormation stack management using the AWS CLI?

You can automate CloudFormation stack management by using AWS CLI commands to create, update, validate, monitor, and delete stacks. This approach applies structured guidance and safety checks to infrastructure-as-code deployments.

What's the best way to preview CloudFormation stack changes before applying updates?

The best way to preview CloudFormation updates is by using change sets. Change sets let you preview modifications before applying them, and you can detect drift to ensure your stacks remain aligned with your templates.

Do I need specific IAM permissions to automate CloudFormation stack deployments?

Yes, you need valid AWS credentials and IAM permissions for CloudFormation operations. When templates create IAM resources, you must explicitly specify CAPABILITY_IAM capabilities to ensure safe stack provisioning.

How does AWS CLI infrastructure-as-code troubleshooting work for failed deployments?

Troubleshooting infrastructure-as-code deployments involves reviewing stack events and resource interactions. Structured outputs accelerate debugging by clarifying resource interactions and deployment failures.

Can I enable termination protection for CloudFormation stacks in production environments?

Yes, you can enable termination protection for CloudFormation stacks. Including safety practices like termination protection and required capabilities minimizes risks when managing stacks across production workflows.

Why should I use CloudFormation for infrastructure-as-code instead of manual provisioning?

You should use CloudFormation because it enables repeatable infrastructure-as-code deployments across development, staging, and production. It replaces error-prone manual provisioning with structured template validation and lifecycle management.