Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bagelhole avatar

Terraform Aws

  • 118 installs
  • 44 repo stars
  • Updated May 22, 2026
  • bagelhole/devops-security-agent-skills

Terraform-aws is a Claude skill that provisions AWS infrastructure with Terraform, covering provider config, S3 remote state, resource and module examples.

About

Provisions AWS infrastructure with Terraform. A developer uses it to configure the AWS provider, manage remote state in S3, and declare resources like VPCs and EC2 instances. It also lists Infrastructure-as-Code best practices such as remote state locking and provider version pinning. The SKILL.md is brief, covering provider config, example resources, modules, and commands.

  • Configures the AWS provider with S3 remote state backend
  • Shows VPC, EC2, and community VPC module examples
  • Lists IaC best practices: remote state locking, version pinning

Terraform Aws by the numbers

  • 118 all-time installs (skills.sh)
  • Ranked #539 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

terraform-aws capabilities & compatibility

Capabilities
infra provisioning · iac · state management
Works with
aws · terraform
Use cases
devops · ci cd
Pricing
Free
From the docs

What terraform-aws says it does

Provision and manage AWS infrastructure with Terraform.
SKILL.md
Use remote state with locking
SKILL.md
npx skills add https://github.com/bagelhole/devops-security-agent-skills --skill terraform-aws

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs118
repo stars44
Last updatedMay 22, 2026
Repositorybagelhole/devops-security-agent-skills

What it does

Provision AWS VPCs and instances declaratively with Terraform and remote state.

Who is it for?

Teams provisioning AWS resources declaratively with Terraform and remote state.

Skip if: Non-AWS clouds or teams not using Terraform.

When should I use this skill?

Deploying AWS resources declaratively with Terraform.

What you get

AWS infrastructure provisioned declaratively with versioned, state-locked Terraform.

  • AWS provider config
  • VPC and EC2 resources
  • reusable modules

By the numbers

  • Pins AWS provider version ~> 5.0

Files

SKILL.mdMarkdownGitHub ↗

Terraform AWS

Provision and manage AWS infrastructure with Terraform.

Provider Configuration

terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 5.0"
    }
  }
  
  backend "s3" {
    bucket = "terraform-state"
    key    = "prod/terraform.tfstate"
    region = "us-east-1"
  }
}

provider "aws" {
  region = var.region
  
  default_tags {
    tags = {
      Environment = var.environment
      ManagedBy   = "terraform"
    }
  }
}

Example Resources

resource "aws_vpc" "main" {
  cidr_block           = "10.0.0.0/16"
  enable_dns_hostnames = true
  
  tags = { Name = "main-vpc" }
}

resource "aws_instance" "web" {
  ami           = data.aws_ami.amazon_linux.id
  instance_type = "t3.micro"
  subnet_id     = aws_subnet.public.id
  
  tags = { Name = "web-server" }
}

Modules

module "vpc" {
  source = "terraform-aws-modules/vpc/aws"
  
  name = "my-vpc"
  cidr = "10.0.0.0/16"
  
  azs             = ["us-east-1a", "us-east-1b"]
  private_subnets = ["10.0.1.0/24", "10.0.2.0/24"]
  public_subnets  = ["10.0.101.0/24", "10.0.102.0/24"]
  
  enable_nat_gateway = true
}

Commands

terraform init
terraform plan -out=plan.tfplan
terraform apply plan.tfplan
terraform destroy

Best Practices

  • Use remote state with locking
  • Implement module structure
  • Use workspaces or separate states per environment
  • Pin provider versions
  • Use data sources for AMIs

Related Skills

  • aws-vpc - VPC networking
  • aws-iam - IAM policies

Related skills

FAQ

How does it manage state?

With an S3 remote state backend and remote state locking as a best practice.

What resources are shown?

aws_vpc and aws_instance, plus the terraform-aws-modules VPC module.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.