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
gefragt vor 4 Jahren233 Aufrufe
1 Antwort
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
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen