-
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
Regression: S3 bucket policy error is now silent failure + timeout #5217
Comments
Hey @spiffytech – this should be fixed in Let us know if you're still hitting this. Thanks! |
This is happening again in 0.9.1. My cause is slightly different, but same basic problem.
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
In v0.6.8, creating an S3 bucket with a malformed policy (in this case, an invalid Resource) resulted in
Error putting S3 policy: MalformedPolicy: Policy has invalid resource
.In v0.6.11, that error is not presented. Instead, Terraform times out and prints
Error putting S3 policy: timeout while waiting for state to become '[success]'
The new behavior is much less clear, doesn't signal user error, and doesn't facilitate diagnosing the problem.
Sample Terraform resource:
Sample policy. The important thing is the Resource doesn't match anything you control / have in your AWS account:
The text was updated successfully, but these errors were encountered: