什么是 terragrunt?
使用 Terragrunt、OpenTofu 和 Terraform 模式进行 Homelab 基础设施管理。 Use when: (1) Planning or applying infrastructure changes to dev/integration/live clusters, (2) Adding/modifying machines in inventory.hcl, (3) Creating or updating units and stacks, (4) 使用功能标志,(5) 运行验证(fmt、validate、test、plan), (6) 了解单元→堆栈→模块架构,(7) 使用 HCL 配置文件, (8) Bare-metal Kubernetes provisioning or Talos configuration. 触发器:“terragrunt”、“terraform”、“opentofu”、“tofu”、“基础设施代码”、“IaC”、 “inventory.hcl”、“networking.hcl”、“HCL 文件”、“添加计算机”、“添加节点”、“集群配置”、 "bare metal", "talos config", "task tg:", "infrastructure plan", "infrastructure apply", "stacks", "units", "modules architecture" Always use task commands (task tg:*) instead of running terragrunt directly. 来源:ionfury/homelab。