Skip to content

Fix Service Account creation by ignoring 403 errors on read polling #8336

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

Conversation

modular-magician
Copy link
Collaborator

Fix issues with google_service_account resource creation due to eventual consistency of GCP IAM API. Fixes hashicorp/terraform-provider-google#19624 and potentially other bugs.

iam: addressed `google_service_account` creation issues caused by the eventual consistency of the GCP IAM API by ignoring 403 errors returned on polling the service account after creation.

Derived from GoogleCloudPlatform/magic-modules#11811

…#11811)

[upstream:e6af55b2acc4c621678faebccfa6009420f87b17]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit db0534f into hashicorp:main Oct 2, 2024
2 checks passed
@modular-magician modular-magician deleted the downstream-pr-e6af55b2acc4c621678faebccfa6009420f87b17 branch November 16, 2024 03:42
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.

google_service_account read after creation issue - apply fails with 403 right after creation
1 participant