What problem does it solve?
This Skill helps ensure your infrastructure deployments are safe and predictable by comparing your local CDK-synthesized CloudFormation templates against the currently deployed stack, detecting drift, and validating changes before they go live.
Core Features & Use Cases
- Drift Detection: Identify manual changes made directly in the AWS console that deviate from your IaC.
- Pre-deployment Validation: Review exactly what will change before running
cdk deploy.
- Security Audits: Specifically check for changes in IAM policies, security group rules, and CDK Nag suppressions.
- Use Case: Before deploying a new version of your application stack, use this Skill to compare your local template with the production stack. It will highlight any added, removed, or modified resources, allowing you to confirm that only intended changes are being made and that no critical security configurations have been altered.
Quick Start
Use the cfn-template-compare skill to compare your local CDK template with the deployed 'my-app-stack' in the 'us-east-1' region using the 'dev' profile.