pandith padaya
pandith padaya

Reputation: 1963

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. prm15 is being introduced new to the stack and my cloudformation template has the following

  prm15:
    Description: Desc
    Type: String

However when I try to deploy this it fails saying the parameter prm15 should have a value. 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?

Upvotes: 0

Views: 133

Answers (1)

Marcin
Marcin

Reputation: 238071

The --parameter-overrides should be:

--parameter-overrides prm1=val1 prm15=val15

Upvotes: 1

Related Questions