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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠