Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 801 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 801 Bytes

Terraform Playground

Infrastructure as code with terraform, with some wrapped shortcuts.

Usage

  • Choose public cloud provider. ex. cd gcp

  • Provide credentials for public cloud. Check docs in subdirectory.

  • Create project directory with DIR=my-new-project make project

  • Update terraform project setting cd my-new-project; vim terraform.tf

  • terraform init

  • Update desired resources to terraform files

  • terraform plan

  • terraform apply

SOP

  1. 安裝 terraform

  2. 取得 public cloud credentials

  3. 編輯 tf 檔案

  4. 計畫 make plan

  5. 應用 terraform apply

初次導入團隊可以參考 Git flow SOP