知识卡片

普通读书笔记卡 · 1334.b.6

包装栈只承载配置

理解等级:高级

部署包装栈为每个实例创建小项目,导入指定版本的共享基础设施库并传参。共享库版本可以逐环境提升,弥补某些栈工具缺少项目制品格式的问题。包装层应仅表达配置,若加入实例专属资源逻辑就会再次成为雪花;新增层级也提高理解成本。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 配置基础设施栈实例 · 查看原书依据

      The Deployment Wrapper Stack pattern uses a separate infrastructure stack project for each deployed stack instance as a wrapper to import and configure an infrastructure code library (Figure 8-3). A common example is creating separate Terraform projects for each instance, with each project importing a module that defines the infrastructure for the instance. The wrapper

    参考来源

    - 位置:《Infrastructure As Code》第8章《配置基础设施栈实例》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch08.html) - 结论依据:原文说明部署包装栈为每个实例创建小项目,导入指定版本的共享基础设施库并传参;本卡据此解释其用途及适用边界。 - 原始内容:The Deployment Wrapper Stack pattern uses a separate infrastructure stack project for each deployed stack instance as a wrapper to import and configure an infrastructure code library (Figure 8-3). A common example is creating separate Terraform projects for each instance, with each project importing a module that defines the infrastructure for the instance. The wrapper