2 코드 다운로드 git clone https://github.com/hashicorp/learn-terraform-modules-use.git cd learn-terraform-modules-use tree 3 서울리전으로 변경 sed -i -e 's/"us-west-2a", "us-west-2b", "us-west-2c"/"ap-northeast-2a", "ap-northeast-2c"/g' variables.tf sed -i -e 's/us-west-2/ap-northeast-2/g' main.tf sed -i -e 's/ami-0c5204531f799e0c6/ami-09cf633fe86e51bf0/g' main.tf 4 terraform init tree .terraform -L 2 5 배포 # (옵션) 비용 안나오게 NATGW 제거 export TF_VAR_vpc_enable_nat_gateway=false # macOS/Linux set TF_VAR_vpc_enable_nat_gateway=false # windows # plan & apply terraform plan && terraform apply -auto-approve # 확인 terraform state list