-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Provider errors out on GCP SA key creation with "new value: Root resource was present, but now absent." #13364
Comments
@skorobogatydmitry thanks for sharing the log. From the log, I am not sure what happened. I noticed below error. Do you see if the service account was successfully created? I wonder if you could try by adding sleep between
|
Yes, service account was successfully created. I added retries and the 2nd apply operation showed only 1 resource to create - the key.
I will try to add |
|
@skorobogatydmitry how much time did you add in sleep? In some resources, api returns |
@skorobogatydmitry is this still an issue? |
@skorobogatydmitry closing this assuming it is no longer an issue. Feel free to reopen if it is still an issue |
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. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Google Terraform provider:
v4.43.0
Affected Resource(s)
Terraform Configuration Files
Overall module content is as follows:
I joint multiple files to a single and generalized it a bit.
Debug Output
https://pastebin.com/G23a7B07
This log is extracted from out logging system (TF_LOG=JSON -s output), some sensitive data is redacted, plus I removed flooding lines such
Found data source type
. Lines are from the message filed of JSON logs.Panic Output
Expected Behavior
is SA and key to be created successfully.
Actual Behavior
terraform apply
errors out with this errorSteps to Reproduce
It occurs sporadically in automation, so there it no good reproducer.
I checked GCP logs, doesn't report any errors accessing SA or its key. There are 2 operations: SA creation, Key creation.
References
The text was updated successfully, but these errors were encountered: