从cloudformation运行yaml时出错
运行以下代码时出现错误:从cloudformation运行yaml时出错,yaml,amazon-cloudformation,Yaml,Amazon Cloudformation,运行以下代码时出现错误: 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
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运行 您是在创建变更集还是使用选项
usePreviousValue
更新堆栈?错误指出您正在使用usePreviousValue
和模板中不存在的参数。仅当此参数是模板最新版本的一部分时,才能使用