You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes creating GCP service accounts can fail with Terraform due to GCPs eventual consistency model (See terraform-provider-google#18087).
After running apply again, it fails because the service account already exists.
A possible workaround has been added to Terraform/google_service_account module to ignore an already existing service account by passing create_ignore_already_exists=true when creating the google_service_account
Expected behavior
Service account gets created or at least it would take an already existing one if running apply again
Observed behavior
Terraform complains about an already existing GCP service account
TL;DR
Sometimes creating GCP service accounts can fail with Terraform due to GCPs eventual consistency model (See terraform-provider-google#18087).
After running apply again, it fails because the service account already exists.
A possible workaround has been added to Terraform/google_service_account module to ignore an already existing service account by passing
create_ignore_already_exists=true
when creating thegoogle_service_account
Expected behavior
Service account gets created or at least it would take an already existing one if running apply again
Observed behavior
Terraform complains about an already existing GCP service account
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: