配置Amazon S3 Inventory时提示‘目标存储桶不存在’问题求助
Here are targeted fixes to resolve your issue, even after verifying bucket name and region:
Validate Destination Bucket Permissions
S3 Inventory requires explicit permissions to write to the destination bucket. Ensure the bucket's policy includes a statement allowing the S3 service principal to put objects:{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": {"Service": "s3.amazonaws.com"}, "Action": "s3:PutObject", "Resource": "arn:aws:s3:::YOUR_DESTINATION_BUCKET/*", "Condition": {"StringEquals": {"s3:DataAccessPointAccount": "YOUR_AWS_ACCOUNT_ID"}} } ] }Replace
YOUR_DESTINATION_BUCKETandYOUR_AWS_ACCOUNT_IDwith your actual values.Check for Hidden Typos or Case Sensitivity
Even if you think the name is correct, verify there are no hidden spaces, trailing characters, or case mismatches. S3 bucket names are case-insensitive, but ARN references in policies and inventory configurations are case-sensitive—match the exact case of your bucket name.Rule Out Bucket Replication/Lifecycle Interference
If the destination bucket has active replication rules, lifecycle policies that delete objects immediately, or object lock enabled, these can block Inventory exports and trigger a misleading "bucket does not exist" error. Temporarily disable these features to test.Verify Inventory Destination Prefix
Ensure the prefix you specified for the Inventory output doesn't contain invalid characters (like spaces,?,#) or accidentally include a bucket name (e.g.,my-bucket/inventoryinstead of justinventory). An invalid prefix can cause the service to fail to locate the target path.Test with a Clean Destination Bucket
Create a new, empty bucket in the same region, configure a basic Inventory export (no prefix, CSV format) to this bucket. If this works, the issue lies with your original destination bucket's configuration or permissions.
内容的提问来源于stack exchange,提问作者george

