Skip to content

Instantly share code, notes, and snippets.

@fiq
Created December 13, 2021 03:43
Show Gist options
  • Save fiq/c8a7aff59b23a3ace601403cb16437c0 to your computer and use it in GitHub Desktop.
Save fiq/c8a7aff59b23a3ace601403cb16437c0 to your computer and use it in GitHub Desktop.
Resource Not Found: memberKey, notFound Error
2021-12-13T16:37:37.186+1300 [INFO]  provider.terraform-provider-googleworkspace_v0.5.2_x5: 2021/12/13 16:37:37 [DEBUG] Finished getting User "REDACTED LONG": "terraform.firsttestuser@REDACTEDORG.co.nz": timestamp=2021-12-13T16:37:37.186+1300
2021-12-13T16:37:37.188+1300 [WARN]  Provider "provider[\"registry.terraform.io/hashicorp/googleworkspace\"]" produced an unexpected new value for googleworkspace_user.users["terraform.firsttestuser@REDACTEDORG.co.nz"], but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .archived: was null, but now cty.False
      - .ip_allowlist: was null, but now cty.False
      - .recovery_phone: was null, but now cty.StringVal("")
      - .suspended: was null, but now cty.False
      - .change_password_at_next_login: was null, but now cty.False
      - .organizations[0].cost_center: was null, but now cty.StringVal("")
      - .organizations[0].description: was null, but now cty.StringVal("")
      - .organizations[0].name: was null, but now cty.StringVal("")
      - .organizations[0].symbol: was null, but now cty.StringVal("")
      - .organizations[0].custom_type: was null, but now cty.StringVal("")
      - .organizations[0].domain: was null, but now cty.StringVal("")
      - .organizations[0].full_time_equivalent: was null, but now cty.NumberIntVal(0)
      - .organizations[0].location: was null, but now cty.StringVal("")
      - .emails: block count changed from 0 to 2
googleworkspace_user.users["terraform.firsttestuser@REDACTEDORG.co.nz"]: Creation complete after 1m11s [id=REDACTED LONG]
╷
│ Error: unexpected error during retries of group_member: googleapi: Error 404: Resource Not Found: memberKey, notFound
│
│   with googleworkspace_group_member.members["terraform.firsttestuser@REDACTEDORG.co.nz"],
│   on users.tf line 49, in resource "googleworkspace_group_member" "members":
│   49: resource "googleworkspace_group_member" "members" {
│
╵
2021-12-13T16:37:37.208+1300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-12-13T16:37:37.211+1300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.5.2/linux_amd64/terraform-provider-googleworkspace_v0.5.2_x5 pid=25999
2021-12-13T16:37:37.212+1300 [DEBUG] provider: plugin exited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment