From aj-geddes-useful-ai-prompts-4
Infrastructure as Code with Terraform for provisioning cloud resources across AWS, Azure, GCP, and on-prem. Includes modular HCL, remote state, state locking, environment workspaces, and code review workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:terraform-infrastructureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Build scalable infrastructure as code with Terraform, managing AWS, Azure, GCP, and on-premise resources through declarative configuration, remote state, and automated provisioning.
Minimal working example:
# terraform/main.tf
terraform {
required_version = ">= 1.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
# Remote state configuration
backend "s3" {
bucket = "terraform-state-prod"
key = "prod/terraform.tfstate"
region = "us-east-1"
encrypt = true
dynamodb_table = "terraform-locks"
}
}
provider "aws" {
region = var.aws_region
default_tags {
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| AWS Infrastructure Module | AWS Infrastructure Module |
| Variables and Outputs | Variables and Outputs |
| Terraform Deployment Script | Terraform Deployment Script |
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Designs Terraform/OpenTofu modules, manages remote state backends and workspaces, implements policy-as-code and CI/CD automation for multi-cloud infrastructure.
Guides Terraform module design, state management, security, and testing for production-grade infrastructure-as-code.
Provisions cloud resources, creates reusable modules, and manages infrastructure at scale using Terraform. Covers setup, state management, multi-environment deployments, and CI/CD integration.