Execute use when generating infrastructure as code configurations. Trigger with phrases like "create Terraform config", "generate CloudFormation template", "write Pulumi code", or "IaC for AWS/GCP/Azure". Produces production-ready code for Terraform, CloudFormation, Pulumi, ARM templates, and CDK across multiple cloud providers.
62
75%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No known issues
Fix and improve this skill with Tessl
tessl review fix ./plugins/devops/infrastructure-as-code-generator/skills/generating-infrastructure-as-code/SKILL.mdGenerate production-ready infrastructure as code for Terraform, CloudFormation, Pulumi, ARM templates, and AWS CDK. Produce modular, well-structured configurations with proper variable definitions, outputs, remote state management, and deployment guidance for AWS, GCP, and Azure cloud stacks.
aws, gcloud, az)terraform.tfvars, dev.tfvars, prod.tfvars) for multi-environment deploymentterraform validate, terraform plan, or equivalent tool-specific linting| Error | Cause | Solution |
|---|---|---|
Invalid HCL syntax | Malformed Terraform configuration | Run terraform validate to identify the error; check bracket matching and attribute syntax |
Unable to authenticate with cloud provider | Missing or expired credentials | Run aws configure, gcloud auth login, or az login to refresh credentials |
Resource already exists | Trying to create a resource that exists outside of IaC management | Use terraform import to bring the existing resource under management |
Error acquiring state lock | Another process holding the state lock | Wait for the other process to finish; use terraform force-unlock <ID> if the lock is stale |
Dependency cycle detected | Resources referencing each other circularly | Refactor to remove the cycle; use data sources or depends_on to establish explicit ordering |
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.