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
已提问 4 年前233 查看次数
1 回答
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
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则