Infra2025년 7월 19일1분 읽기

Terraform vs Pulumi — IaC 도구 비교 2025

YS
YoungSam
조회 2069

Terraform (HCL)

resource "aws_instance" "web" {
  ami           = "ami-0c55b159cbfafe1f0"
  instance_type = "t3.micro"
  tags = { Name = "web-server" }
}

Pulumi (TypeScript)

import * as aws from "@pulumi/aws";

const server = new aws.ec2.Instance("web", {
  ami: "ami-0c55b159cbfafe1f0",
  instanceType: "t3.micro",
  tags: { Name: "web-server" },
});

export const ip = server.publicIp;

선택 기준

  • Terraform: 넓은 생태계, 팀 표준
  • Pulumi: 프로그래밍 언어 사용, 복잡한 로직
TerraformPulumiIaC

댓글 0

아직 댓글이 없습니다.