terraform-provider-googleworkspace: user resource create consistency checks should backoff retry after 404 error received

Terraform Version

[I] ➜ ~ terraform -v Terraform v1.1.8 on linux_amd64

Affected Resource(s)

Please list the resources as a list, for example:

  • user

Terraform Configuration Files

No special configuration

Debug Output

https://gist.github.com/cstadach-otto/a98e5710014b4d06973aaf686d467bae

Expected Behavior

The user should have been created and marked consistent in the terraform state

Actual Behavior

the get request to check consistency of the user is initially send to quickly and returns a 404 which lets the consistency check fail

Steps to Reproduce

  1. terraform apply

Important Factoids

We poc’ed a simple sleep before the consistency check get request and compiled It worked We suppose a 404 should be caught with a simple backoff to try the consistency check again

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 7
  • Comments: 15 (5 by maintainers)

Commits related to this issue

Most upvoted comments

I fixed the PR, should be good to go now.

Here is an open PR, we’re waiting for one last, small change. We’re balancing priorities across our team as best we’re able and aim to merge this in the next two weeks. Thank you all for your patience!