【问题标题】:AWS refreshing CloudFormation TemplateAWS 刷新 CloudFormation 模板
【发布时间】:2018-05-04 01:08:40
【问题描述】:

如果我们在 CloudFormation 之外更新 CloudFormation 堆栈,则模板将不同步,并且没有“刷新”模板的好方法 - 这是几年前基于 old discussion 的智慧。

我在 AWS 文档中看不到任何内容。这是否改变/改进了类似于Terraform Refresh

【问题讨论】:

    标签: amazon-web-services amazon-cloudformation


    【解决方案1】:

    据我所知没有。

    但是,terraform refresh 只会刷新 terraform 已知的基础架构上的更改。

    问候,

    【讨论】:

      【解决方案2】:

      除非我误解了...即使 terraform refresh 会更新状态文件,它也不会更新您仍然过期的 *.tf 文件。 (这会破坏 IAC 的概念)。

      在 AWS 上,您可以使用 AWS Config 查看在初始部署后您的基础设施发生的任何更改,以协调差异。

      您还可以使用 cloudformer 获取基础架构的当前 cloudformation 模板。 CloudFormer

      【讨论】:

        猜你喜欢
        • 2021-07-20
        • 2016-12-12
        • 1970-01-01
        • 2018-10-12
        • 2020-10-23
        • 2020-01-15
        • 2017-06-18
        • 1970-01-01
        • 2020-08-17
        相关资源
        最近更新 更多