본문 바로가기
DevOps/IaC (Infrastructure as Code)

Terraform Backend 생성하기 (S3 버킷)

by Hwan,. 2023. 10. 22.
728x90
반응형

테라폼 backend용 s3 버킷 생성

provider "aws" {
    region = "ap-northeast-2"
}

resource "aws_s3_bucket" "example" {
  bucket = "iac-serverce1"

  tags = {
    Name        = "iac-service1"
    Environment = "Dev"
    Management  = "Terraform"
    CreatedBy   = "hwan001"
  }
}

 

728x90
반응형

댓글