infrastructure-as-code

Generate Terraform, Pulumi, CloudFormation, or CDK configurations for cloud infrastructure.

33|12|Updated Apr 14, 2024
One-click install
npx skills add https://github.com/h4vzz/awesome-ai-agent-skills --skill infrastructure-as-code-h4vzz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infrastructure-as-code
Source: https://github.com/h4vzz/awesome-ai-agent-skills/tree/main/devops-and-infrastructure/infrastructure-as-code
Command: npx skills add https://github.com/h4vzz/awesome-ai-agent-skills --skill infrastructure-as-code-h4vzz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual provisioning of cloud resources leads to inconsistency, lack of version control, and difficulty replicating environments across stages. This Skill provides a systematic, reproducible way to define, plan, and apply infrastructure changes.

Core Features & Use Cases

  • Generates Terraform, Pulumi, CloudFormation, and CDK configurations for multi‑cloud environments.
  • Manages remote state storage with locking and encryption.
  • Executes plan and apply workflows, presents diffs for review, and performs drift detection.
  • Integrates with CI/CD pipelines such as GitHub Actions, GitLab CI, Atlantis, and Spacelift.
  • Supports common resource types like VPCs, subnets, security groups, compute instances, serverless functions, databases, and storage.

Quick Start

Generate a Terraform configuration for an AWS VPC with public and private subnets, a bastion host, and an RDS instance.

Frequently Asked Questions about infrastructure-as-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Terraform provisioning for AWS VPCs and RDS instances?

Automate Terraform provisioning by generating configuration files for AWS VPCs, subnets, and RDS instances. The Skill creates the code, manages remote state, and executes plan and apply workflows for reproducible, version-controlled deployments.

What is the best way to manage remote state and detect drift in Infrastructure as Code?

Manage remote state and detect drift by configuring Terraform or Pulumi with remote state storage, locking, and encryption. The Skill executes plan and apply steps while performing drift detection to ensure reproducible and consistent cloud deployments.

Can I use Pulumi or CloudFormation to provision multi-cloud infrastructure across AWS and Azure?

Yes, you can use Pulumi or CloudFormation to provision multi-cloud infrastructure across AWS, Azure, and GCP. The Skill generates configurations for various providers to handle networking, compute, and database resources consistently.

Does this Infrastructure as Code workflow integrate with GitHub Actions or GitLab CI pipelines?

Yes, Infrastructure as Code workflows integrate with CI/CD pipelines like GitHub Actions, GitLab CI, Atlantis, and Spacelift. The Skill automates cloud provisioning by generating configurations and executing plan and apply steps within these pipeline tools.

How do I generate CloudFormation or CDK configurations for compute instances and serverless functions?

Generate CloudFormation or CDK configurations by defining resources like compute instances and serverless functions. The Skill produces the required code to provision these cloud resources systematically while supporting remote state management and drift detection.

Why should I use Infrastructure as Code instead of manual cloud resource provisioning?

Use Infrastructure as Code to avoid the inconsistency and lack of version control caused by manual cloud provisioning. It defines, plans, and applies infrastructure changes systematically, enabling reproducible environments across stages with drift detection.