-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error putting S3 ACL: NoSuchBucket: The specified bucket does not exist #10121
Comments
I am also seeing this error consistently, except mine is when trying to set the versioning:
|
Are there any ideas? I still see this issue periodically. It is really annoying. |
In my case, I DO manually delete some buckets, I saw the similar issue. But the log output is not clear enough, I turn on debug option, I still don't know which bucket is missed. I used to re-create the bucket with same name to avoid this error, but now there are many buckets I am not sure which bucket I need restore. |
Hi Friends Is this still an issue? I see we are handling the 404 on buckets now and give better error messages:
I believe this is all ok now Paul |
Thanks, after upgrade to v0.9.1, I saw the bucket name within the error message. From my view, this issue can be closed |
I'll upgrade soon and check. We still have these issues with v0.8.8. |
I can confirm. This issue is not fixed with version 0.8.8 |
@SydOps |
It still doesn't work. v0.9.2:
|
I'm seeing this issue in 0.9.3 (tries to set bucket versioning and gets a 404) Running terraform again works, because the bucket was made. |
@stack72, this issue is still valid. |
@stack72 My problem was related to my mistake. My s3 module was using like this
This was, of course, causing early return without waiting s3 bucket to be created. I replaced it with this:
Now my problem has resolved. |
Error inspecting states in the "s3" backend: I have got he same error while setting s3 bucket in the backend. |
I also have this issue with Terraform v0.11.7. |
I am curious for anyone who still have this issue, did you run with the latest terraform provider aws releases? upgrade it, then check again. |
I tried it with the latest terraform provider aws releases and it still didn't work. Deleting the .terraform folder and running init again worked for me. |
I run with a wrapper script and always delete |
Removing .terraform folder solved my issue as well. |
It looks this has not been fixed. Please consider reopening. Removing .terraform did not work. Run destroy everytime before apply to be sure.
Error messagesSporadic and not consistent.
Or
Or
Terraform to create S3 bucketsRunning s3 bucket creation alone does not cause the issue. I have other resources depends on the S3 buckets e.g. lambda, S3 to SNS publish, etc.
|
I am also intermittently seeing the same error
Can this issue be reopened? This is my config
|
The AWS provider is no longer developed in this repository. Please report issues with it in its own repository. |
My test deployment periodically failed with
Error putting S3 ACL: NoSuchBucket: The specified bucket does not exist
message. It looks like there is an issue with dependencies.I actually had to add an additional attempt to my deployment script, but it fails sometimes anyway.
Some parts of my deployment script with workaround:
Despite the workaround it fails sometimes. I see this failure several times per a week. Let me know if you need additional details and I will help to reproduce this issue.
The part of my configuration is main.tf
My Jenkins build console output with debug enabled console.log
The text was updated successfully, but these errors were encountered: