Using the following bucket policy 3Hub returns the error (netdb/8). I do not get the error when using s3cmd or cloudberry with the same account information.
{
"Version": "2008-10-17",
"Id": "Policy1350047291500",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::VALID_AWS_ID:root"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::my.files/foo/*"
},
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::VALID_AWS_ID:root"
},
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::my.files",
"Condition": {
"StringLike": {
"s3:prefix": "foo/*"
}
}
}
]
}