aws-cloudformation

Validate AWS CloudFormation templates with cfn-lint and cfn-guard.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/AndreKurait/claude-marketplace-test --skill aws-cloudformation-andrekurait
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-cloudformation
Source: https://github.com/AndreKurait/claude-marketplace-test/tree/main/plugins/aws-core/skills/aws-cloudformation
Command: npx skills add https://github.com/AndreKurait/claude-marketplace-test --skill aws-cloudformation-andrekurait

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Author, validate, and troubleshoot AWS CloudFormation templates with secure defaults, pre-deployment checks, and root-cause diagnosis using CloudFormation events and CloudTrail correlation.

Core Features & Use Cases

  • Template authoring with secure defaults (e.g., encryption, deletion policies) and best practices.
  • Validate: run a deterministic multi-layer validation pipeline (syntax/schema with cfn-lint, security/compliance with cfn-guard, and pre-deploy validation via change sets) to catch issues before deployment.
  • Troubleshoot: provide structured guidance for failed deployments using CloudFormation events and optional CloudTrail correlation to surface root causes.

Quick Start

Provide a CloudFormation template to author, validate, and troubleshoot, then run pre-deploy validation to ensure a safe deployment.

Frequently Asked Questions about aws-cloudformation

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

FAQPage Schema
How do I validate CloudFormation templates before deployment?

CloudFormation template validation applies a deterministic pipeline using cfn-lint for syntax and schema checks, cfn-guard for security compliance, and pre-deploy validation via change sets to catch issues like missing required properties and insecure defaults before deployment.

How do I troubleshoot failed CloudFormation deployments?

Troubleshooting failed CloudFormation deployments involves analyzing CloudFormation events and correlating CloudTrail logs to surface root causes, providing structured guidance to resolve deployment failures effectively.

Can I validate CloudFormation templates from a URL or local file?

CloudFormation validation supports templates provided in YAML or JSON format from local files or URLs, applying syntax, schema, and security checks to ensure safe deployments regardless of the input source.

What are common CloudFormation template errors and how do I fix them?

Common CloudFormation template errors include missing required properties, hard-coded resource names, and insecure defaults. The validation pipeline identifies these issues and provides concrete remediation steps to ensure secure infrastructure-as-code.

Does CloudFormation validation work with cfn-lint and cfn-guard?

CloudFormation validation integrates cfn-lint for syntax and schema validation and cfn-guard for security and compliance policy enforcement, ensuring templates meet infrastructure-as-code best practices before deployment.

What's the best way to author CloudFormation templates with secure defaults?

Authoring CloudFormation templates with secure defaults involves applying best practices for encryption and deletion policies, then running pre-deploy validation checks to ensure safe infrastructure deployments.