Optimize CloudFormation templates

cloudformation-best-practicesskillsetup L24
tools-only/X-Skills
What it does

Deploy CloudFormation templates with best-practice patterns

Best for

Validates CF syntax, manages parameter constraints, and detects common IaC anti-patterns.

Inputs
  • · [object Object]
  • · [object Object]
Outputs
  • · [object Object]
  • · [object Object]
Requires
  • · AWS CloudFormation
  • · IAM
  • · S3
Preconditions

Valid template syntax; IAM role with CloudFormation permissions; S3 bucket for large templates

Failure modes
  • · Circular dependencies in resource graph
  • · Parameter validation fails (type mismatch)
  • · Stack rollback on resource error
Trust signals
  • · Template validation with cfn-lint
  • · IAM least-privilege patterns
  • · Change set preview before apply