Infrastructure as code with terraform, with some wrapped shortcuts.
-
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
-
安裝 terraform
-
取得 public cloud credentials
-
編輯 tf 檔案
-
計畫 make plan
-
應用 terraform apply
初次導入團隊可以參考 Git flow SOP