Skip to content

Instantly share code, notes, and snippets.

@dsiebel
Last active April 28, 2022 06:45
Show Gist options
  • Save dsiebel/5950f119bff40c11d9c27f737c964fb8 to your computer and use it in GitHub Desktop.
Save dsiebel/5950f119bff40c11d9c27f737c964fb8 to your computer and use it in GitHub Desktop.
# TF_LOG=debug output for Github issue hashicorp/terraform-provider-googleworkspace#259
2022-02-11T08:59:13.699+0100 [INFO] Terraform version: 1.1.5
2022-02-11T08:59:13.699+0100 [INFO] Go runtime version: go1.17.2
2022-02-11T08:59:13.699+0100 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.2.2/versions/1.1.5/terraform", "apply", "out.tfplan"}
2022-02-11T08:59:13.699+0100 [DEBUG] Attempting to open CLI config file: /Users/dsiebel/.terraformrc
2022-02-11T08:59:13.699+0100 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-02-11T08:59:13.700+0100 [INFO] Loading CLI configuration from /Users/dsiebel/.terraform.d/credentials.tfrc.json
2022-02-11T08:59:13.702+0100 [DEBUG] checking for credentials in "/Users/dsiebel/.terraform.d/plugins"
2022-02-11T08:59:13.703+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-02-11T08:59:13.703+0100 [DEBUG] will search for provider plugins in /Users/dsiebel/.terraform.d/plugins
2022-02-11T08:59:13.703+0100 [DEBUG] ignoring non-existing provider search directory /Users/dsiebel/Library/Application Support/io.terraform/plugins
2022-02-11T08:59:13.703+0100 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2022-02-11T08:59:13.704+0100 [INFO] CLI command args: []string{"apply", "out.tfplan"}
2022-02-11T08:59:14.051+0100 [DEBUG] checking for provisioner in "."
2022-02-11T08:59:14.052+0100 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/2.2.2/versions/1.1.5"
2022-02-11T08:59:14.052+0100 [DEBUG] checking for provisioner in "/Users/dsiebel/.terraform.d/plugins"
2022-02-11T08:59:14.054+0100 [INFO] backend/local: starting Apply operation
2022-02-11T08:59:14.060+0100 [INFO] backend/local: apply calling Apply
2022-02-11T08:59:14.061+0100 [DEBUG] Building and walking apply graph for NormalMode plan
2022-02-11T08:59:14.061+0100 [DEBUG] Resource state not found for node "google_project_iam_member.project_iam_project_group", instance google_project_iam_member.project_iam_project_group
2022-02-11T08:59:14.061+0100 [DEBUG] Resource state not found for node "googleworkspace_group.group", instance googleworkspace_group.group
2022-02-11T08:59:14.061+0100 [DEBUG] Resource state not found for node "google_project.project", instance google_project.project
2022-02-11T08:59:14.061+0100 [DEBUG] Resource state not found for node "google_service_account.project_service_account", instance google_service_account.project_service_account
2022-02-11T08:59:14.061+0100 [DEBUG] Resource state not found for node "random_id.random_project_id_suffix", instance random_id.random_project_id_suffix
2022-02-11T08:59:14.061+0100 [DEBUG] Resource state not found for node "googleworkspace_group_settings.group_settings", instance googleworkspace_group_settings.group_settings
2022-02-11T08:59:14.061+0100 [DEBUG] Resource state not found for node "google_project_iam_member.project_iam_project_service_account", instance google_project_iam_member.project_iam_project_service_account
2022-02-11T08:59:14.061+0100 [DEBUG] Resource state not found for node "googleworkspace_group_members.group_members", instance googleworkspace_group_members.group_members
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "googleworkspace_group.group (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/googleworkspace"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "googleworkspace_group_members.group_members (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/googleworkspace"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "googleworkspace_group_settings.group_settings (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/googleworkspace"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "random_id.random_project_id_suffix" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/random"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "googleworkspace_group_settings.group_settings" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/googleworkspace"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "google_project.project (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "google_project_iam_member.project_iam_project_group" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/google"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "googleworkspace_group_members.group_members" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/googleworkspace"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "google_service_account.project_service_account (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "google_service_account.project_service_account" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/google"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "random_id.random_project_id_suffix (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/random"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "google_project_iam_member.project_iam_project_service_account" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/google"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "google_project_iam_member.project_iam_project_service_account (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "google_project_iam_member.project_iam_project_group (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2022-02-11T08:59:14.063+0100 [DEBUG] ProviderTransformer: "googleworkspace_group.group" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/googleworkspace"]
2022-02-11T08:59:14.064+0100 [DEBUG] ProviderTransformer: "google_project.project" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/google"]
2022-02-11T08:59:14.064+0100 [DEBUG] created provider logger: level=debug
2022-02-11T08:59:14.064+0100 [INFO] provider: configuring client automatic mTLS
2022-02-11T08:59:14.078+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5]
2022-02-11T08:59:14.087+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5 pid=59977
2022-02-11T08:59:14.087+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5
2022-02-11T08:59:14.126+0100 [INFO] provider.terraform-provider-google_v4.10.0_x5: configuring server automatic mTLS: timestamp=2022-02-11T08:59:14.126+0100
2022-02-11T08:59:14.176+0100 [DEBUG] provider: using plugin: version=5
2022-02-11T08:59:14.176+0100 [DEBUG] provider.terraform-provider-google_v4.10.0_x5: plugin address: address=/var/folders/1y/y0cy0g0n7qxbsxgnkr0jrpv00000gp/T/plugin717827668 network=unix timestamp=2022-02-11T08:59:14.176+0100
2022-02-11T08:59:14.281+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-11T08:59:14.284+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5 pid=59977
2022-02-11T08:59:14.284+0100 [DEBUG] provider: plugin exited
2022-02-11T08:59:14.284+0100 [DEBUG] created provider logger: level=debug
2022-02-11T08:59:14.284+0100 [INFO] provider: configuring client automatic mTLS
2022-02-11T08:59:14.296+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace args=[.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace]
2022-02-11T08:59:14.302+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace pid=59978
2022-02-11T08:59:14.303+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace
2022-02-11T08:59:14.328+0100 [INFO] provider.terraform-provider-googleworkspace: configuring server automatic mTLS: timestamp=2022-02-11T08:59:14.327+0100
2022-02-11T08:59:14.374+0100 [DEBUG] provider.terraform-provider-googleworkspace: plugin address: address=/var/folders/1y/y0cy0g0n7qxbsxgnkr0jrpv00000gp/T/plugin835605713 network=unix timestamp=2022-02-11T08:59:14.373+0100
2022-02-11T08:59:14.374+0100 [DEBUG] provider: using plugin: version=5
2022-02-11T08:59:14.418+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-11T08:59:14.420+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace pid=59978
2022-02-11T08:59:14.420+0100 [DEBUG] provider: plugin exited
2022-02-11T08:59:14.420+0100 [DEBUG] created provider logger: level=debug
2022-02-11T08:59:14.421+0100 [INFO] provider: configuring client automatic mTLS
2022-02-11T08:59:14.432+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5]
2022-02-11T08:59:14.439+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5 pid=59979
2022-02-11T08:59:14.440+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5
2022-02-11T08:59:14.461+0100 [INFO] provider.terraform-provider-random_v3.1.0_x5: configuring server automatic mTLS: timestamp=2022-02-11T08:59:14.460+0100
2022-02-11T08:59:14.518+0100 [DEBUG] provider.terraform-provider-random_v3.1.0_x5: plugin address: address=/var/folders/1y/y0cy0g0n7qxbsxgnkr0jrpv00000gp/T/plugin759801430 network=unix timestamp=2022-02-11T08:59:14.518+0100
2022-02-11T08:59:14.518+0100 [DEBUG] provider: using plugin: version=5
2022-02-11T08:59:14.554+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-11T08:59:14.556+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5 pid=59979
2022-02-11T08:59:14.556+0100 [DEBUG] provider: plugin exited
2022-02-11T08:59:14.557+0100 [DEBUG] ReferenceTransformer: "google_project_iam_member.project_iam_project_group (expand)" references: []
2022-02-11T08:59:14.557+0100 [DEBUG] ReferenceTransformer: "googleworkspace_group.group (expand)" references: []
2022-02-11T08:59:14.557+0100 [DEBUG] ReferenceTransformer: "local.project_group (expand)" references: []
2022-02-11T08:59:14.557+0100 [DEBUG] ReferenceTransformer: "googleworkspace_group.group" references: [local.project_group (expand)]
2022-02-11T08:59:14.558+0100 [INFO] ReferenceTransformer: reference not found: "googleworkspace_group.group#destroy"
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "google_project.project" references: [googleworkspace_group.group (expand) googleworkspace_group.group googleworkspace_group.group local.project_id (expand) local.project_id (expand)]
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "google_project_iam_member.project_iam_project_group" references: [googleworkspace_group.group (expand) googleworkspace_group.group googleworkspace_group.group google_project.project google_project.project google_project.project (expand)]
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "google_service_account.project_service_account (expand)" references: []
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/googleworkspace\"]" references: []
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "googleworkspace_group_members.group_members (expand)" references: []
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "google_service_account.project_service_account" references: [google_project.project google_project.project google_project.project (expand) local.project_id (expand)]
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "google_project.project (expand)" references: []
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "googleworkspace_group_settings.group_settings (expand)" references: []
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "local.project_id (expand)" references: [random_id.random_project_id_suffix random_id.random_project_id_suffix random_id.random_project_id_suffix (expand)]
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "random_id.random_project_id_suffix" references: []
2022-02-11T08:59:14.558+0100 [DEBUG] ReferenceTransformer: "googleworkspace_group_settings.group_settings" references: [googleworkspace_group.group (expand) googleworkspace_group.group googleworkspace_group.group]
2022-02-11T08:59:14.559+0100 [DEBUG] ReferenceTransformer: "google_project_iam_member.project_iam_project_service_account" references: [google_service_account.project_service_account (expand) google_service_account.project_service_account google_service_account.project_service_account google_project.project google_project.project google_project.project (expand)]
2022-02-11T08:59:14.559+0100 [DEBUG] ReferenceTransformer: "random_id.random_project_id_suffix (expand)" references: []
2022-02-11T08:59:14.559+0100 [DEBUG] ReferenceTransformer: "googleworkspace_group_members.group_members" references: [googleworkspace_group.group (expand) googleworkspace_group.group googleworkspace_group.group]
2022-02-11T08:59:14.559+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/random\"]" references: []
2022-02-11T08:59:14.559+0100 [DEBUG] ReferenceTransformer: "google_project_iam_member.project_iam_project_service_account (expand)" references: []
2022-02-11T08:59:14.562+0100 [DEBUG] Starting graph walk: walkApply
2022-02-11T08:59:14.562+0100 [DEBUG] created provider logger: level=debug
2022-02-11T08:59:14.563+0100 [INFO] provider: configuring client automatic mTLS
2022-02-11T08:59:14.576+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5]
2022-02-11T08:59:14.580+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5 pid=59983
2022-02-11T08:59:14.580+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5
2022-02-11T08:59:14.599+0100 [INFO] provider.terraform-provider-random_v3.1.0_x5: configuring server automatic mTLS: timestamp=2022-02-11T08:59:14.599+0100
2022-02-11T08:59:14.655+0100 [DEBUG] provider.terraform-provider-random_v3.1.0_x5: plugin address: address=/var/folders/1y/y0cy0g0n7qxbsxgnkr0jrpv00000gp/T/plugin211474706 network=unix timestamp=2022-02-11T08:59:14.655+0100
2022-02-11T08:59:14.655+0100 [DEBUG] provider: using plugin: version=5
2022-02-11T08:59:14.703+0100 [DEBUG] created provider logger: level=debug
2022-02-11T08:59:14.704+0100 [INFO] provider: configuring client automatic mTLS
2022-02-11T08:59:14.719+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5]
2022-02-11T08:59:14.730+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5 pid=59996
2022-02-11T08:59:14.731+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5
2022-02-11T08:59:14.783+0100 [INFO] provider.terraform-provider-google_v4.10.0_x5: configuring server automatic mTLS: timestamp=2022-02-11T08:59:14.783+0100
2022-02-11T08:59:14.845+0100 [DEBUG] provider.terraform-provider-google_v4.10.0_x5: plugin address: address=/var/folders/1y/y0cy0g0n7qxbsxgnkr0jrpv00000gp/T/plugin250847075 network=unix timestamp=2022-02-11T08:59:14.844+0100
2022-02-11T08:59:14.845+0100 [DEBUG] provider: using plugin: version=5
2022-02-11T08:59:14.885+0100 [DEBUG] created provider logger: level=debug
2022-02-11T08:59:14.885+0100 [INFO] provider: configuring client automatic mTLS
2022-02-11T08:59:14.900+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace args=[.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace]
2022-02-11T08:59:14.907+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace pid=60000
2022-02-11T08:59:14.907+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace
2022-02-11T08:59:14.935+0100 [INFO] provider.terraform-provider-googleworkspace: configuring server automatic mTLS: timestamp=2022-02-11T08:59:14.935+0100
2022-02-11T08:59:14.986+0100 [DEBUG] provider.terraform-provider-googleworkspace: plugin address: address=/var/folders/1y/y0cy0g0n7qxbsxgnkr0jrpv00000gp/T/plugin526090527 network=unix timestamp=2022-02-11T08:59:14.986+0100
2022-02-11T08:59:14.986+0100 [DEBUG] provider: using plugin: version=5
random_id.random_project_id_suffix: Creating...
2022-02-11T08:59:15.041+0100 [INFO] Starting apply for random_id.random_project_id_suffix
2022-02-11T08:59:15.041+0100 [DEBUG] random_id.random_project_id_suffix: applying the planned Create change
random_id.random_project_id_suffix: Creation complete after 0s [id=qMA]
2022-02-11T08:59:15.082+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-11T08:59:15.083+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/darwin_amd64/terraform-provider-random_v3.1.0_x5 pid=59983
2022-02-11T08:59:15.083+0100 [DEBUG] provider: plugin exited
googleworkspace_group.group: Creating...
2022-02-11T08:59:15.088+0100 [INFO] Starting apply for googleworkspace_group.group
2022-02-11T08:59:15.088+0100 [DEBUG] googleworkspace_group.group: applying the planned Create change
2022-02-11T08:59:15.089+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [DEBUG] setting computed for "non_editable_aliases" from ComputedKeys: timestamp=2022-02-11T08:59:15.089+0100
2022-02-11T08:59:15.090+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [DEBUG] Creating Group "[email protected]": "[email protected]": timestamp=2022-02-11T08:59:15.090+0100
2022-02-11T08:59:15.091+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [INFO] Instantiating Google Admin Directory service: timestamp=2022-02-11T08:59:15.090+0100
2022-02-11T08:59:15.091+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [INFO] Instantiating Google Admin Groups service: timestamp=2022-02-11T08:59:15.090+0100
2022-02-11T08:59:15.092+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2022-02-11T08:59:15.091+0100
2022-02-11T08:59:15.092+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [DEBUG] Retry Transport: request attempt 0: timestamp=2022-02-11T08:59:15.091+0100
2022-02-11T08:59:15.092+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [DEBUG] Google Workspace API Request Details:
---[ REQUEST ]---------------------------------------
POST /admin/directory/v1/groups?alt=json&prettyPrint=false HTTP/1.1
Host: admin.googleapis.com
User-Agent: google-api-go-client/0.5
Content-Length: 78
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.16.2 gdcl/20210622
Accept-Encoding: gzip
{
"description": "Project owners group",
"email": "[email protected]"
}
-----------------------------------------------------: timestamp=2022-02-11T08:59:15.092+0100
2022-02-11T08:59:15.199+0100 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/google\"]" changed the config value, but that value is unused
2022-02-11T08:59:15.202+0100 [INFO] provider.terraform-provider-google_v4.10.0_x5: 2022/02/11 08:59:15 [INFO] Authenticating using DefaultClient...: timestamp=2022-02-11T08:59:15.202+0100
2022-02-11T08:59:15.203+0100 [INFO] provider.terraform-provider-google_v4.10.0_x5: 2022/02/11 08:59:15 [INFO] -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]: timestamp=2022-02-11T08:59:15.202+0100
2022-02-11T08:59:15.203+0100 [INFO] provider.terraform-provider-google_v4.10.0_x5: 2022/02/11 08:59:15 [INFO] Authenticating using DefaultClient...: timestamp=2022-02-11T08:59:15.203+0100
2022-02-11T08:59:15.203+0100 [INFO] provider.terraform-provider-google_v4.10.0_x5: 2022/02/11 08:59:15 [INFO] -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]: timestamp=2022-02-11T08:59:15.203+0100
2022-02-11T08:59:15.204+0100 [INFO] provider.terraform-provider-google_v4.10.0_x5: 2022/02/11 08:59:15 [DEBUG] Waiting for state to become: [success]: timestamp=2022-02-11T08:59:15.204+0100
2022-02-11T08:59:15.694+0100 [INFO] provider.terraform-provider-google_v4.10.0_x5: 2022/02/11 08:59:15 [INFO] Terraform is using this identity: [email protected]: timestamp=2022-02-11T08:59:15.694+0100
2022-02-11T08:59:15.708+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [DEBUG] Google Workspace API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 403 Forbidden
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 11 Feb 2022 07:59:15 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
Www-Authenticate: Bearer realm="https://accounts.google.com/", error="insufficient_scope", scope="https://apps-apis.google.com/a/feeds/groups/ https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/directory.group"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
{
"error": {
"code": 403,
"message": "Request had insufficient authentication scopes.",
"errors": [
{
"message": "Insufficient Permission",
"domain": "global",
"reason": "insufficientPermissions"
}
],
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
"domain": "googleapis.com",
"metadata": {
"method": "ccc.hosted.frontend.directory.v1.DirectoryGroups.Insert",
"service": "admin.googleapis.com"
}
}
]
}
}
-----------------------------------------------------: timestamp=2022-02-11T08:59:15.708+0100
2022-02-11T08:59:15.709+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [DEBUG] Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 403 with body: HTTP/2.0 403 Forbidden
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 11 Feb 2022 07:59:15 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
Www-Authenticate: Bearer realm="https://accounts.google.com/", error="insufficient_scope", scope="https://apps-apis.google.com/a/feeds/groups/ https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/directory.group"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
{
"error": {
"code": 403,
"message": "Request had insufficient authentication scopes.",
"errors": [
{
"message": "Insufficient Permission",
"domain": "global",
"reason": "insufficientPermissions"
}
],
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
"domain": "googleapis.com",
"metadata": {
"method": "ccc.hosted.frontend.directory.v1.DirectoryGroups.Insert",
"service": "admin.googleapis.com"
}
}
]
}
}: timestamp=2022-02-11T08:59:15.708+0100
2022-02-11T08:59:15.709+0100 [INFO] provider.terraform-provider-googleworkspace: 2022/02/11 08:59:15 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2022-02-11T08:59:15.708+0100
2022-02-11T08:59:15.737+0100 [ERROR] vertex "googleworkspace_group.group" error: googleapi: Error 403: Request had insufficient authentication scopes.
Details:
[
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"domain": "googleapis.com",
"metadata": {
"method": "ccc.hosted.frontend.directory.v1.DirectoryGroups.Insert",
"service": "admin.googleapis.com"
},
"reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT"
}
]
More details:
Reason: insufficientPermissions, Message: Insufficient Permission
│ Error: googleapi: Error 403: Request had insufficient authentication scopes.
│ Details:
│ [
│ {
│ "@type": "type.googleapis.com/google.rpc.ErrorInfo",
│ "domain": "googleapis.com",
│ "metadata": {
│ "method": "ccc.hosted.frontend.directory.v1.DirectoryGroups.Insert",
│ "service": "admin.googleapis.com"
│ },
│ "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT"
│ }
│ ]
│ More details:
│ Reason: insufficientPermissions, Message: Insufficient Permission
│ with googleworkspace_group.group,
│ on main.tf line 51, in resource "googleworkspace_group" "group":
│ 51: resource "googleworkspace_group" "group" {
2022-02-11T08:59:15.771+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-11T08:59:15.771+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-02-11T08:59:15.775+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/googleworkspace/0.6.0/darwin_amd64/terraform-provider-googleworkspace pid=60000
2022-02-11T08:59:15.775+0100 [DEBUG] provider: plugin exited
2022-02-11T08:59:15.777+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.10.0/darwin_amd64/terraform-provider-google_v4.10.0_x5 pid=59996
2022-02-11T08:59:15.777+0100 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment