Open colinlabs opened 4 days ago
Find a description:https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html
If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error.
Describe the bug
We created an s3 bucket in account A, and then s3 tested and granted access to a role in account B. The bucket information could be correctly read in terraform, but terragunant could not correctly obtain bucekt information at noon.
Error:
config:
s3 policy
Expected behavior
It can be similar to terraform's behavior, and can read bucekt information across aws accounts.
Versions