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

Fix IAM role race condition #8892

Conversation

modular-magician
Copy link
Collaborator

This PR fixes hashicorp/terraform-provider-google#17385 adding a time_sleep block to fix a race condition when launching a Dataflow flex template Job. Without this fix, it was found that ~8% (on my local machine), the Dataflow Job would fail with various reasons related to accessing the storage bucket. The root cause was the IAM role would not propagate by the time Terraform sent the create Job request.


Derived from GoogleCloudPlatform/magic-modules#12467

[upstream:904cffa35eb0843b9e593fef0b151f5c6d41e3e9]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner December 11, 2024 21:03
@modular-magician modular-magician merged commit 3e0dc54 into hashicorp:main Dec 11, 2024
4 checks passed
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.

Failing test(s): TestAccDataflowFlexTemplateJob_FullUpdate
1 participant