简体   繁体   English

AWS Cloudformation 部署引入了新变量

[英]AWS Cloudformation deploy introduce new variable

I'm deploying an cloudformation template using我正在使用

aws cloudformation deploy and the --parameter-overrides ParameterKey=prm1,ParameterValue=val1 ParameterKey=prm15,ParameterValue=val15 flag. aws cloudformation deploy--parameter-overrides ParameterKey=prm1,ParameterValue=val1 ParameterKey=prm15,ParameterValue=val15标志。 prm15 is being introduced new to the stack and my cloudformation template has the following prm15被引入堆栈中,我的 cloudformation 模板具有以下内容

  prm15:
    Description: Desc
    Type: String

However when I try to deploy this it fails saying the parameter prm15 should have a value.但是,当我尝试部署它时,它无法说参数prm15应该有一个值。 Bearing in mind this is being introduced new I kind of understand the error since that parameter does not exist on the existing stack.请记住,这是新引入的,我有点理解错误,因为现有堆栈中不存在该参数。 How do I fix this?我该如何解决?

--parameter-overrides应该是:

--parameter-overrides prm1=val1 prm15=val15

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM