Hifounder / terragrunt-infrastructure-aws-modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learn For Terragrunt

此範例完整參考並延伸應用

Terragrunt Common AWS Modules

本地測試

  1. git clone 於本地
  2. 根據自己需求修改此專案
  3. 建立一組 live 專案 Example: terragrunt-infrastructure-hifounder-live
  4. 於 live 專案操作 terragrunt plan --terragrunt-source <此專案local路徑>//mysql
  5. 若 plan 不錯, 於 live 專案操作 terragrunt apply --terragrunt-source <此專案local路徑>//mysql

輸出版號

  1. 根據自己需求修改此專案
  2. commit Git ex:git commit -m "commit message"
  3. git tag -a v0.0.1 -m "tag message"
    git push --follow-tags
    
  4. 如果你需要使用新的release tag記得修改live專案的下env.hclref
  5. 於 live 專案操作 terragrunt plan
  6. 若 plan 不錯, 於 live 專案操作 terragrunt apply

About


Languages

Language:HCL 100.0%