aws cli dynamodb put-item map syntax

Viewed 24

i try to put in a table using the aws cli, a new item, but i see this error:

aws dynamodb --region us-west-1 put-item \
--table-name kiudevops_configs_test \
--item '{"app": {"S": "server-front"},"repo": {"S": "serverfront"}, "routes": "M":{"dev":{"S": "default"}, {"qa":{"S": "10.54.x.x"}}}'

Error parsing parameter '--item': Invalid JSON: Expecting ',' delimiter: line 1 column 97 (char 96)
JSON received: {"app": {"S": "server-front"},"repo": {"S": "serverfront"}, "routes": "M":{"dev":{"S": "default"}, {"qa":{"S": "10.54.x.x"}}}

I have read the documentation but do not understand it can help me??

I need to add something like this:

enter image description here

0 Answers
Related