知识卡片
配置目录按变更组织
参数文件跟随各栈放置,便于对某个栈跨环境调整;按环境集中放置,便于同时修改同一环境中的多个栈。两者都可能随规模变得难导航。选择依据应是常见变更横跨哪些对象,而不是假设某种目录结构普遍最优。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 配置基础设施栈实例 · 查看原书依据
Each approach can become messy and confusing in different ways. When you need to make a change to all the elements in an environment, making changes to configuration files across dozens of stack projects is painful. When you need to change the configuration for a single stack across the various environments it’s in, trawling through
参考来源
- 位置:《Infrastructure As Code》第8章《配置基础设施栈实例》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch08.html)
- 结论依据:原文说明参数文件跟随各栈放置,便于对某个栈跨环境调整;按环境集中放置,便于同时修改同一环境中的多个栈;本卡据此解释其用途及适用边界。
- 原始内容:Each approach can become messy and confusing in different ways. When you need to make a change to all the elements in an environment, making changes to configuration files across dozens of stack projects is painful. When you need to change the configuration for a single stack across the various environments it’s in, trawling through