generate-iac

Official

Automate compliant infrastructure-as-code generation.

Authoraws-samples
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the generation of compliant infrastructure-as-code (IaC) templates for Terraform, CDK TypeScript, CloudFormation YAML, and CDK for Terraform. It saves developers time and ensures consistent template quality across all four formats.

Core Features & Use Cases

  • Generate IaC in Four Formats: Outputs compliant templates for Terraform, CDK TypeScript, CloudFormation YAML, and CDK for Terraform.
  • Parameter Coverage Matrix: Ensures that every parameter defined for each control is covered by the templates.
  • Cross-generator Consistency: Enforces rules to maintain consistency across different formats.
  • Quality Rules Enforcement: Ensures the correct inclusion of parameters, property names, and resource policies.
  • Control ID Annotations: Tags each resource property with the associated control ID.
  • Schema Gap Handling: Identifies and handles parameters that are missing from the Terraform provider schema.
  • Modular Terraform Architecture: Structures Terraform modules with a clear directory structure.
  • CDK TypeScript and CDK for Terraform Layout: Specifies the layout and file requirements for the CDK implementations.

Quick Start

To generate compliant IaC templates, first map the controls to parameters using the 04-map sub-skill, then validate them using the 03-validate sub-skill. Use the generate-iac skill to generate the IaC templates and follow the instructions provided in the SKILL.md file for deployment.

Dependency Matrix

Required Modules

mapping-results.jsonvalidated.json

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generate-iac
Download link: https://github.com/aws-samples/sample-agentic-value-accelerator/archive/main.zip#generate-iac

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.