-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
Description
I tried to upload an image to S3 and set the cache-control to "public, max-age=31536000"
My command was something like this:
aws.command('s3api put-object --bucketb --key pic.png ' +
'--body f:\\pic.png ' +
'--acl public-read --content-type image/png --cache-control "public, max-age=31536000"')
But i got back error with message
Unknown options: max-age=31536000"
The documentetion for the aws-cli can be found here!
It says if you want to use space between the parameter, you can use quotes