본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)48k · #5960

terraform-aws

하는 일

이 도구는 Terraform이라는 코드를 사용해 Amazon의 클라우드(AWS)에서 리소스를 만들고 관리하도록 돕습니다. AWS에 인프라를 구축하고 유지하도록 지시하는 것과 같습니다.

사용하는 경우

  • ✓AWS에서 서버, 네트워크, 데이터베이스를 만들 때.
  • ✓AWS 인프라 설정을 체계적으로 정리하고 자동화하고 싶을 때.
  • ✓AWS 인프라가 항상 일관되도록 해야 하는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

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.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Terraform으로 AWS에 가상 네트워크(VPC)와 웹 서버를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AWS에서 원하는 것을 설명하는 코드를 작성합니다. Terraform이 이 코드를 읽고, 요청한 대로 AWS와 통신해 리소스를 정확히 만들거나 수정합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.
자주 묻는 질문

Terraform이란 무엇인가요?

안전하고 예측 가능한 방식으로 코드를 사용해 서버나 네트워크 같은 클라우드 인프라를 설명하고 관리하는 도구입니다.

AWS란 무엇인가요?

Amazon이 제공하는 클라우드 컴퓨팅 서비스 모음으로, 저장소, 처리 능력, 데이터베이스 등을 제공합니다.

클라우드의 '리소스'란 무엇인가요?

가상 머신(서버), 저장 공간, 네트워크, 데이터베이스 등 클라우드에서 사용하는 구성 요소입니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
48k
순위
#5960
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬