Script to add new parameters to parameter store stops

0

One step in our process to push a new version of our app to production is to create a corresponding set of parameters. That way we can smoke test the new version before actually directing traffic to it. We have created a script which creates the new parameters based on various version specific variables. When running the script, it stops after successfully creating only 9 of the 25 parameters. The following is what is displayed in the terminal window:

usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

aws help
aws <command> help
aws <command> <subcommand> help

Unknown options: put-parameter, ssm
tc_set_params:24: number expected

If we attempt to copy and paste the remaining parameters directly in the terminal window, it again stops after processing a subset of those statements.

All statements are valid if run individually of in small groups

GaryB
asked 4 years ago229 views
1 Answer
0

Hi,

For the initial diagnosis, can you try following:

  1. Could you use the --debug option in the cli to troubleshoot?https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-troubleshooting.html
  2. Lint the script that you use to create parameters
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions