I made a bucket public and applied a standard policy as
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::DOC-EXAMPLE-BUCKET/*",
"Condition": {
"StringEquals": {
"s3:ExistingObjectTag/public": "yes"
}
}
}
]
}
(from AWS documentation). I enabled versioning and tagged my object as public=yes. Now the issue arise when I have multiple versions of the same object, only the last one is actually readable (but all have the public=yes tag). I'm confused about this, am I doing something wrong or is this the expected behavior? I have not found anything saying older version would not be accessible.
-thank you for the help and please do dumb it down, I have just started!-