Iac Template Automator

Generates and validates Infrastructure-as-Code templates for common AWS patterns across CloudFormation (template structure, nested stacks, cross-stack refs, drift detection, change sets), CDK v2 (L1/L2/L3 constructs, Apps, Stacks, aspects), and Terraform (HCL, modules, S3 backend with DynamoDB lock, workspaces, plan/apply/destroy). Covers VPC+subnets+NAT+routes, Lambda+API Gateway+DynamoDB, ECS Fargate+ALB, RDS Aurora+Secrets Manager rotation, CloudFront+S3+WAF. Enforces security defaults: no hardcoded secrets, least-privilege IAM (no Action:*, Resource:*), encryption by default, deletion protection, cost-allocation tags. Validates with cfn-lint, cfn-nag, tflint, checkov. Handles drift detection and state pitfalls (CFN Replacement=TRUE, Terraform manual changes outside IaC). Emits a deterministic verdict AUTOMATED with IaC template or MANUAL_STEP_REQUIRED with specific gap. Use when generating AWS infrastructure templates, scaffolding a new service, or validating IaC for security before deploy.

jhkchan Updated

File contents

jhkchan/aws-agent-skills commit 2f7bf1b00f

Frequently asked questions

npx get-skill add jhkchan/iac-template-automator