Skip to content
Skillpedia
Deploy & cloud (DevOps)48k · #4346

terraform-aws

Enables your agent to provision AWS infrastructure using Terraform. It allows managing resources as code, ensuring consistent and repeatable deployments.

What it does

This tool helps create and manage resources in Amazon's cloud (AWS) using code called Terraform. It's like giving instructions to AWS to build and maintain your infrastructure.

When to use it

  • ✓When creating servers, networks, or databases in AWS.
  • ✓When you want to organize and automate your AWS infrastructure setup.
  • ✓When you need to ensure your AWS infrastructure is always consistent.

Example of what to ask your AI

“Create a virtual network (VPC) and a web server in AWS using Terraform.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/terraform-aws/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/terraform-aws/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

You write code describing what you want in AWS. Terraform reads this code and talks to AWS to create or modify resources exactly as you requested.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill terraform-aws

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/terraform-aws/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

When to Use

  • Provisioning, hardening, or operating the infrastructure described in this skill within an authorized environment.

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 (aws-vpc) - VPC networking
  • aws-iam (aws-iam) - IAM policies

When to Use

  • You are provisioning, configuring, or troubleshooting the infrastructure component covered by this skill (servers, storage, databases, networking, cloud, local AI).

Limitations

  • Infrastructure commands can disrupt services: confirm target host/scope and have backups/snapshots before mutating state.
  • Docs-only import: upstream scripts and templates not bundled.
FAQ

What is Terraform?

Terraform is a tool that lets you describe and manage cloud infrastructure (like servers and networks) using code, in a safe and predictable way.

What is AWS?

AWS (Amazon Web Services) is a suite of cloud computing services offered by Amazon, such as storage, processing power, and databases.

What are 'resources' in the cloud?

Resources are the components you use in the cloud, such as virtual machines (servers), storage space, networks, databases, etc.

Details

Original description by the author

Provision AWS infrastructure with Terraform. Create modules, manage state, and implement IaC best practices. Use when deploying AWS resources declaratively.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#4346
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills