You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

配置Amazon S3 Inventory时提示‘目标存储桶不存在’问题求助

Troubleshooting S3 Inventory "Destination bucket does not exist" Error

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_BUCKET and YOUR_AWS_ACCOUNT_ID with 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/inventory instead of just inventory). 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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.25 16:37:12