知识卡片
状态映射代码与资源
基础设施工具需要记录代码中资源与平台实际实例的对应,才能把修改应用到正确对象。云原生工具可由平台内部管理栈映射,第三方工具通常为每个实例保存状态文件,可自行托管或使用服务。状态不只是资源清单,而是变更身份关系的重要依据。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 基础设施工具与语言 · 查看原书依据
Infrastructure tools need a way to know which resource defined in code corresponds to which resource instance running on the IaaS platform. This mapping is used to make sure a change to the code is applied to the correct resource. IaaS platforms can handle this internally for their own infrastructure tools. For instance, when you
参考来源
- 位置:《Infrastructure As Code》第4章《基础设施工具与语言》(来源项目 book-sources,源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch04.html)
- 结论依据:原文对该概念的定义、应用条件与作用机制直接支持上述解释。
- 原始内容:Infrastructure tools need a way to know which resource defined in code corresponds to which resource instance running on the IaaS platform. This mapping is used to make sure a change to the code is applied to the correct resource. IaaS platforms can handle this internally for their own infrastructure tools. For instance, when you