Hi folks
I have the following policy to limit access per groups to only one specific bucket (3 groups, 3 buckets):
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::bucket1",
"arn:aws:s3:::bucket1/*"
],
"Condition": {
"IpAddress": {
"aws:SourceIp": "192.168.1.10"
}
}
}
]
}
I use this to limit access to only a specific bucket and only from one ip address. When I test it I don't see any bucket. Any Idea?
I tried it already without the ip address condition, still same problem.
Thank you!