Skip to content
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

Post April 2023 ACLs no longer allowed by default so wait for changes #173

Closed
wants to merge 1 commit into from
Closed

Conversation

kumichou
Copy link

@kumichou kumichou commented Apr 21, 2023

what

  • Wait a little while after configuring bucket ownership controls on a new S3 bucket before configuring the bucket ACL

why

references

  • None

@kumichou kumichou requested review from a team as code owners April 21, 2023 15:06
@@ -496,3 +497,10 @@ resource "time_sleep" "wait_for_aws_s3_bucket_settings" {
create_duration = "30s"
destroy_duration = "30s"
}

resource "time_sleep" "wait_for_aws_s3_ownership_change" {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my personal experience fixing this issue locally doesn't require the use of a time_sleep resource, instead, we can make it work by adding a depends_on like on #175, #176 and #177.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine with me if the depends_on works. I thought I had tried that locally to fix the issue but apparently not.

@rubyisbeautiful
Copy link

rubyisbeautiful commented May 1, 2023

mentioning issue #174 to assist finding

@kumichou
Copy link
Author

kumichou commented May 1, 2023

I'm going to close this PR then since there's another that uses depends_on to correct the issue.

@kumichou kumichou closed this May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants