AWS CLI- What is the syntax for assigning multiple values on a parameter

Question:

For example, I have this CF template that ask for these parameters

For me to deploy the stack, I use this command:

Where params.json contains:

Now, my goal is to eliminate the use of .json file. Does anyone know the shorthand syntax of the command that should achieve the same effect as above command? Can’t seem to find this on the documentations online. Thanks in advance!

Answer:

The command line equivalent would be (little re-formatted for clarify):

In the above attention to spaces and commas are important.

I verified the command using my own parameters and my sandbox account:


which is correct and results in starting the process of deploying the stack:

Leave a Reply