【问题标题】:Error while running yaml from cloudformation从 cloudformation 运行 yaml 时出错
【发布时间】:2019-05-12 03:05:18
【问题描述】:

运行以下代码时出现错误:

Parameters:
  Counter:
    Type : Number
    Default : 5
    Description : Maximum number of times to check query execution

错误:

An error occurred (ValidationError) when calling the CreateChangeSet operation: Invalid input for parameter key Counter. Cannot specify usePreviousValue as true for a parameter key not in the previous template

我正在用 yaml 编写代码并通过 AWS cloudformation 运行。

【问题讨论】:

    标签: yaml amazon-cloudformation


    【解决方案1】:

    您是使用选项usePreviousValue 创建变更集还是更新堆栈?该错误提到您正在使用带有模板中不存在的参数的usePreviousValue。如果此参数是最新版本模板的一部分,则只能使用 previous value

    【讨论】:

      猜你喜欢
      • 2017-07-15
      • 2018-10-14
      • 1970-01-01
      • 2021-09-30
      • 2017-05-16
      • 2021-01-05
      • 1970-01-01
      • 2019-12-15
      • 1970-01-01
      相关资源
      最近更新 更多