Error parsing parameter '--targets': Expected: '=', received: ''' for input: '{"Key":"tag:Name","Values":["LDAPHost_env-sandbox"]}' #3070
Labels
closing-soon
This issue will automatically close in 4 days unless further comments are made.
I am using AWS EC2 SSM for doing an automated deployment from Jenkins build pipeline. A SSM document to run a shell script is provided in the SSM document. The jenkins pipeline form the following command:
aws ssm send-command --document-name "Testdeployment" --targets '{"Key":"tag:Name","Values":["LDAPHost_env-sandbox"]}' --max-concurrency "1" --max-errors "1" --parameters '{"bucketName":["s3://testBucket"],"workingDirectory":["/tmp/"],"releaseName":["sandbox-v1"]}' --timeout-seconds 3600 --output-s3-bucket-name "testBucket" --output-s3-key-prefix "sandbox-v1/test/ssm/log" --region eu-west-1
Error message:
Configuration:
OS: Ubuntu 16.04.2 LTS
AWS CLI: 1.11.122
Python: 2.7.12
Linux: 4.4.0-1044-aws
botocore:1.5.85
The text was updated successfully, but these errors were encountered: