Problem
You may encounter the following error.
Validate Response s3/GetBucketPolicy failed, attempt 0/25,
error NoSuchBucketPolicy: The bucket policy does not exist
or
Response s3/GetBucketPolicy Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
Content-Type: application/xml
Cause
-
You have created an S3 Bucket and did not apply an S3 bucket policy
- Your S3 Bucket policy has changed
-
You attempted to apply an S3 policy with a newer provider version, which failed.
Solutions:
-
Create or add an existing policy to the S3 Bucket.
-
Review your S3 Policy for changes
-
Use an updated AWS provider to apply the policy.