aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

delete-tags returns True with any value key value

Open aquanyc opened this issue 13 years ago • 1 comments

delete-tags returns true whatever the key value is...is this expected behavior ?

aws ec2 delete-tags --resources i-3cb6ca4c --tag key=notexist { "return": "true", "ResponseMetadata": { "RequestId": "a698b4ec-1b74-4f03-b515-d7ba56f5f61a" }

aquanyc avatar May 31 '13 23:05 aquanyc

awscli is just returning what the EC2 service returns via the API. The EC2 service does not consider trying to delete a non-existant tag to be an error.

garnaat avatar May 31 '13 23:05 garnaat