Files
nexus/wiki/entities/TerraGrant.md
2026-04-28 20:03:11 +08:00

1.6 KiB
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
TerraGrant entity
IaC
Terraform
AWS
ctp-topic-7-saas-landing-zone-design
2026-05-06

TerraGrant (TerraGrunt)

Terraform 的轻量封装工具,用于简化跨账户 IaC 部署。TerraGrant 在 SAS Landing Zone 中用于管理 Terraform 状态和跨账户依赖。

Relationship with Terraform

TerraGrant即 TerraGrunt是 HashiCorp Terraform 的封装工具wrapper非独立产品。

ctp-topic-7-saas-landing-zone-design 定义的 SAS LZ 中:

  • 跨账户部署TerraGrunt 简化 Terraform 状态管理和跨账户引用
  • 与 Gruntwork 集成SAS LZ 基于 Gruntwork 仓库TerraGrunt 用于管理跨环境Dev/Staging/Prod的 Terraform 配置
  • 配合 JenkinsGitHub Hook → Jenkins → TerraGrunt 命令执行部署

Key Properties

  • Type: IaC Tool (Terraform Wrapper)
  • Vendor: Gruntwork (from Terragrunt)
  • Purpose: DRY Terraform configurations, remote state management, cross-account deployments
  • In SAS LZ: 每个账户拥有独立 GitHub 仓库管理 TerraGrunt 配置

Relationship to Gruntwork

  • Gruntwork 提供预构建的 Terraform 模块
  • TerraGrunt 简化这些模块的跨账户使用
  • 两者结合Gruntwork 模块 + TerraGrunt 封装 = SAS LZ IaC 实践

Aliases

  • TerraGrunt
  • Terragrunt

Connections