
Terraform Infrastructure
A solid foundation for managing cloud infrastructure with Terraform that covers the essentials: remote state with S3 and DynamoDB locking, multi-cloud provider setup, and modular architecture. The reference guides walk through AWS infrastructure modules, variable management, and deployment scripts. This is most useful if you're setting up Terraform for the first time or standardizing how your team handles infrastructure as code across environments. The best practices section is actually helpful, emphasizing state management and module organization over superficial advice. It won't teach you Terraform from scratch, but it gives you a reasonable starting structure and keeps you from common mistakes like local state files or hardcoded values.
- skills.sh installs
- 1.2K
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill terraform-infrastructure --agent claude-codeInstalls into .claude/skills of the current project.
Files
Terraform Infrastructure
Table of Contents
Overview
Build scalable infrastructure as code with Terraform, managing AWS, Azure, GCP, and on-premise resources through declarative configuration, remote state, and automated provisioning.
When to Use
- Cloud infrastructure provisioning
- Multi-environment management (dev, staging, prod)
- Infrastructure versioning and code review
- Cost tracking and resource optimization
- Disaster recovery and environment replication
- Automated infrastructure testing
- Cross-region deployments
Quick Start
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"
}
}
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- DevOps & CI/CD, AI & Agent Building, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- Responsive Web Design1.1K
- Penetration Testing1.1K
- Css Architecture969
- Api Contract Testing926
- Root Cause Analysis916
- Event Sourcing892
- Mobile First Design869
- Api Security Hardening868
- Mobile App Testing831
- Technical Specification811
- User Story Writing793
- Access Control Rbac763
- User Guide Creation762
- Kubernetes Deployment759
- Logging Best Practices742
- Visual Regression Testing731
- Flutter Development725
- E2e Testing Automation695
- Business Case Development683
- React Component Architecture683
- Docker Containerization681
- Agile Sprint Planning677
- Log Analysis674
- Security Compliance Audit673