Infrastructure as Code Generator
advancedopsMin 64K context
Generates production-ready infrastructure as code (IaC) configurations for cloud deployments. Supports Terraform, Pulumi, CloudFormation, and CDK. Creates modular, reusable infrastructure components with proper networking, security groups, IAM policies, and monitoring configurations.
Use Cases
- Generating Terraform modules for multi-tier web applications
- Creating AWS CDK stacks with proper VPC and security configuration
- Setting up Kubernetes cluster infrastructure with autoscaling
- Designing disaster recovery infrastructure across regions
- Migrating existing manual infrastructure to IaC
Example Prompt
Generate Terraform configuration for a production-ready web application stack on AWS. Requirements: - VPC with public and private subnets across 3 AZs - ECS Fargate cluster with auto-scaling (min 2, max 10 tasks) - Application Load Balancer with HTTPS termination - RDS PostgreSQL in Multi-AZ with automated backups - ElastiCache Redis for session management - CloudWatch alarms for CPU, memory, and 5xx errors - S3 bucket for static assets with CloudFront CDN - Proper IAM roles with least-privilege access Output: - Modular Terraform with separate files (main.tf, variables.tf, outputs.tf) - Use terraform-aws-modules where appropriate - Include tfvars example for staging and production
Recommended Models
Compatible Tools
claude-codecursorkiroany
Modalities
Input: text
→Output: code, text
Related Skills
Author
OpenModels Community