Skip to content

Instantly share code, notes, and snippets.

@LoicBer
Created September 22, 2023 09:38
Show Gist options
  • Save LoicBer/53a8b974067d0ca0cfacb50f9a9ee911 to your computer and use it in GitHub Desktop.
Save LoicBer/53a8b974067d0ca0cfacb50f9a9ee911 to your computer and use it in GitHub Desktop.
$ TF_LOG=DEBUG terraform plan
2023-09-22T08:51:44.322Z [INFO] Terraform version: 1.2.9
2023-09-22T08:51:44.322Z [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2023-09-22T08:51:44.323Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2023-09-22T08:51:44.323Z [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2023-09-22T08:51:44.323Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2023-09-22T08:51:44.323Z [DEBUG] using github.com/zclconf/go-cty v1.11.0
2023-09-22T08:51:44.323Z [INFO] Go runtime version: go1.18.1
2023-09-22T08:51:44.323Z [INFO] CLI args: []string{"terraform", "plan"}
2023-09-22T08:51:44.323Z [DEBUG] Attempting to open CLI config file: /home/lbertaux/.terraformrc
2023-09-22T08:51:44.323Z [INFO] Loading CLI configuration from /home/lbertaux/.terraformrc
2023-09-22T08:51:44.324Z [DEBUG] Explicit provider installation configuration is set
2023-09-22T08:51:44.328Z [INFO] CLI command args: []string{"plan"}
2023-09-22T08:51:44.352Z [DEBUG] New state was assigned lineage "6450ed21-9138-0cdf-72f7-69ab4cf50588"
2023-09-22T08:51:44.356Z [DEBUG] Provider registry.terraform.io/hashicorp/azuread is overridden by dev_overrides
2023-09-22T08:51:44.358Z [DEBUG] Provider registry.terraform.io/hashicorp/azuread is overridden to load from /home/lbertaux/go/bin
2023-09-22T08:51:44.371Z [DEBUG] checking for provisioner in "."
2023-09-22T08:51:44.481Z [DEBUG] checking for provisioner in "/usr/bin"
2023-09-22T08:51:44.536Z [DEBUG] Provider registry.terraform.io/hashicorp/azuread is overridden by dev_overrides
│ Warning: Provider development overrides are in effect
│ The following provider development overrides are set in the CLI configuration:
│ - hashicorp/azuread in /home/lbertaux/go/bin
│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible
│ with published releases.
2023-09-22T08:51:44.586Z [INFO] backend/local: starting Plan operation
2023-09-22T08:51:44.882Z [DEBUG] Config.VerifyDependencySelections: skipping registry.terraform.io/hashicorp/azuread because it's overridden by a special configuration setting
2023-09-22T08:51:44.970Z [DEBUG] created provider logger: level=debug
2023-09-22T08:51:45.016Z [INFO] provider: configuring client automatic mTLS
2023-09-22T08:51:45.158Z [DEBUG] provider: starting plugin: path=/home/lbertaux/go/bin/terraform-provider-azuread args=[/home/lbertaux/go/bin/terraform-provider-azuread]
2023-09-22T08:51:45.162Z [DEBUG] provider: plugin started: path=/home/lbertaux/go/bin/terraform-provider-azuread pid=12515
2023-09-22T08:51:45.162Z [DEBUG] provider: waiting for RPC address: path=/home/lbertaux/go/bin/terraform-provider-azuread
2023-09-22T08:51:45.213Z [INFO] provider.terraform-provider-azuread: configuring server automatic mTLS: timestamp=2023-09-22T08:51:45.211Z
2023-09-22T08:51:45.477Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Administrative Units"..: timestamp=2023-09-22T08:51:45.443Z
2023-09-22T08:51:45.493Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Administrative Units"..: timestamp=2023-09-22T08:51:45.444Z
2023-09-22T08:51:45.494Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Applications"..: timestamp=2023-09-22T08:51:45.444Z
2023-09-22T08:51:45.494Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Applications"..: timestamp=2023-09-22T08:51:45.444Z
2023-09-22T08:51:45.494Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "App Role Assignments"..: timestamp=2023-09-22T08:51:45.444Z
2023-09-22T08:51:45.494Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "App Role Assignments"..: timestamp=2023-09-22T08:51:45.444Z
2023-09-22T08:51:45.494Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "ConditionalAccess"..: timestamp=2023-09-22T08:51:45.444Z
2023-09-22T08:51:45.508Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "ConditionalAccess"..: timestamp=2023-09-22T08:51:45.445Z
2023-09-22T08:51:45.508Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "DirectoryObjects"..: timestamp=2023-09-22T08:51:45.445Z
2023-09-22T08:51:45.508Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "DirectoryObjects"..: timestamp=2023-09-22T08:51:45.445Z
2023-09-22T08:51:45.508Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Directory Roles"..: timestamp=2023-09-22T08:51:45.445Z
2023-09-22T08:51:45.508Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Directory Roles"..: timestamp=2023-09-22T08:51:45.505Z
2023-09-22T08:51:45.508Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Domains"..: timestamp=2023-09-22T08:51:45.505Z
2023-09-22T08:51:45.508Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Domains"..: timestamp=2023-09-22T08:51:45.505Z
2023-09-22T08:51:45.508Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Groups"..: timestamp=2023-09-22T08:51:45.505Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Groups"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Identity Governance"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Identity Governance"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Invitations"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Invitations"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Policies"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Policies"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Service Principals"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Service Principals"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "User Flows"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "User Flows"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Resources for "Users"..: timestamp=2023-09-22T08:51:45.507Z
2023-09-22T08:51:45.509Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:45 [DEBUG] Registering Data Sources for "Users"..: timestamp=2023-09-22T08:51:45.508Z
2023-09-22T08:51:45.509Z [DEBUG] provider.terraform-provider-azuread: plugin address: address=/tmp/plugin2372720458 network=unix timestamp=2023-09-22T08:51:45.508Z
2023-09-22T08:51:45.509Z [DEBUG] provider: using plugin: version=5
2023-09-22T08:51:45.889Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2023-09-22T08:51:45.889Z [DEBUG] provider: plugin process exited: path=/home/lbertaux/go/bin/terraform-provider-azuread pid=12515
2023-09-22T08:51:45.889Z [DEBUG] provider: plugin exited
2023-09-22T08:51:45.890Z [DEBUG] Building and walking validate graph
2023-09-22T08:51:45.890Z [DEBUG] ProviderTransformer: "azuread_group_member.group_member" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:51:45.890Z [DEBUG] ProviderTransformer: "data.azuread_client_config.current" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:51:45.891Z [DEBUG] ProviderTransformer: "data.azuread_group.external_group" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:51:45.891Z [DEBUG] ReferenceTransformer: "azuread_group_member.group_member" references: [data.azuread_client_config.current data.azuread_group.external_group]
2023-09-22T08:51:45.891Z [DEBUG] ReferenceTransformer: "data.azuread_client_config.current" references: []
2023-09-22T08:51:45.891Z [DEBUG] ReferenceTransformer: "data.azuread_group.external_group" references: [var.group_name]
2023-09-22T08:51:45.891Z [DEBUG] ReferenceTransformer: "var.group_name" references: []
2023-09-22T08:51:45.891Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/azuread\"]" references: []
2023-09-22T08:51:45.892Z [DEBUG] Starting graph walk: walkValidate
2023-09-22T08:51:45.893Z [DEBUG] created provider logger: level=debug
2023-09-22T08:51:45.899Z [INFO] provider: configuring client automatic mTLS
2023-09-22T08:51:46.030Z [DEBUG] provider: starting plugin: path=/home/lbertaux/go/bin/terraform-provider-azuread args=[/home/lbertaux/go/bin/terraform-provider-azuread]
2023-09-22T08:51:46.062Z [DEBUG] provider: plugin started: path=/home/lbertaux/go/bin/terraform-provider-azuread pid=12531
2023-09-22T08:51:46.063Z [DEBUG] provider: waiting for RPC address: path=/home/lbertaux/go/bin/terraform-provider-azuread
2023-09-22T08:51:46.323Z [INFO] provider.terraform-provider-azuread: configuring server automatic mTLS: timestamp=2023-09-22T08:51:46.318Z
2023-09-22T08:51:46.496Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Administrative Units"..: timestamp=2023-09-22T08:51:46.451Z
2023-09-22T08:51:46.507Z [DEBUG] provider: using plugin: version=5
2023-09-22T08:51:46.515Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Administrative Units"..: timestamp=2023-09-22T08:51:46.452Z
2023-09-22T08:51:46.515Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Applications"..: timestamp=2023-09-22T08:51:46.452Z
2023-09-22T08:51:46.515Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Applications"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "App Role Assignments"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "App Role Assignments"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "ConditionalAccess"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "ConditionalAccess"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "DirectoryObjects"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "DirectoryObjects"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Directory Roles"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Directory Roles"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Domains"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.519Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Domains"..: timestamp=2023-09-22T08:51:46.453Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Groups"..: timestamp=2023-09-22T08:51:46.464Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Groups"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Identity Governance"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Identity Governance"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Invitations"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Invitations"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Policies"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Policies"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Service Principals"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Service Principals"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "User Flows"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "User Flows"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Resources for "Users"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:46 [DEBUG] Registering Data Sources for "Users"..: timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:46.520Z [DEBUG] provider.terraform-provider-azuread: plugin address: address=/tmp/plugin3446060332 network=unix timestamp=2023-09-22T08:51:46.465Z
2023-09-22T08:51:47.012Z [DEBUG] provider: plugin process exited: path=/home/lbertaux/go/bin/terraform-provider-azuread pid=12531
2023-09-22T08:51:47.012Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2023-09-22T08:51:47.012Z [DEBUG] provider: plugin exited
2023-09-22T08:51:47.013Z [INFO] backend/local: plan calling Plan
2023-09-22T08:51:47.013Z [DEBUG] Building and walking plan graph for NormalMode
2023-09-22T08:51:47.029Z [DEBUG] ProviderTransformer: "data.azuread_client_config.current (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:51:47.039Z [DEBUG] ProviderTransformer: "data.azuread_group.external_group (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:51:47.040Z [DEBUG] ProviderTransformer: "azuread_group_member.group_member (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:51:47.046Z [DEBUG] ReferenceTransformer: "data.azuread_group.external_group (expand)" references: [var.group_name]
2023-09-22T08:51:47.046Z [DEBUG] ReferenceTransformer: "var.group_name" references: []
2023-09-22T08:51:47.046Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/azuread\"]" references: []
2023-09-22T08:51:47.046Z [DEBUG] ReferenceTransformer: "azuread_group_member.group_member (expand)" references: [data.azuread_group.external_group (expand) data.azuread_client_config.current (expand)]
2023-09-22T08:51:47.046Z [DEBUG] ReferenceTransformer: "data.azuread_client_config.current (expand)" references: []
2023-09-22T08:51:47.047Z [DEBUG] Starting graph walk: walkPlan
2023-09-22T08:51:47.063Z [DEBUG] created provider logger: level=debug
2023-09-22T08:51:47.066Z [INFO] provider: configuring client automatic mTLS
2023-09-22T08:51:47.219Z [DEBUG] provider: starting plugin: path=/home/lbertaux/go/bin/terraform-provider-azuread args=[/home/lbertaux/go/bin/terraform-provider-azuread]
2023-09-22T08:51:47.241Z [DEBUG] provider: plugin started: path=/home/lbertaux/go/bin/terraform-provider-azuread pid=12547
2023-09-22T08:51:47.273Z [DEBUG] provider: waiting for RPC address: path=/home/lbertaux/go/bin/terraform-provider-azuread
2023-09-22T08:51:47.425Z [INFO] provider.terraform-provider-azuread: configuring server automatic mTLS: timestamp=2023-09-22T08:51:47.418Z
2023-09-22T08:51:47.616Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Administrative Units"..: timestamp=2023-09-22T08:51:47.614Z
2023-09-22T08:51:47.633Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Administrative Units"..: timestamp=2023-09-22T08:51:47.617Z
2023-09-22T08:51:47.727Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Applications"..: timestamp=2023-09-22T08:51:47.648Z
2023-09-22T08:51:47.729Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Applications"..: timestamp=2023-09-22T08:51:47.664Z
2023-09-22T08:51:47.729Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "App Role Assignments"..: timestamp=2023-09-22T08:51:47.664Z
2023-09-22T08:51:47.729Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "App Role Assignments"..: timestamp=2023-09-22T08:51:47.664Z
2023-09-22T08:51:47.729Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "ConditionalAccess"..: timestamp=2023-09-22T08:51:47.664Z
2023-09-22T08:51:47.729Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "ConditionalAccess"..: timestamp=2023-09-22T08:51:47.664Z
2023-09-22T08:51:47.729Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "DirectoryObjects"..: timestamp=2023-09-22T08:51:47.664Z
2023-09-22T08:51:47.729Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "DirectoryObjects"..: timestamp=2023-09-22T08:51:47.664Z
2023-09-22T08:51:47.744Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Directory Roles"..: timestamp=2023-09-22T08:51:47.664Z
2023-09-22T08:51:47.890Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Directory Roles"..: timestamp=2023-09-22T08:51:47.777Z
2023-09-22T08:51:47.901Z [DEBUG] provider: using plugin: version=5
2023-09-22T08:51:47.919Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Domains"..: timestamp=2023-09-22T08:51:47.791Z
2023-09-22T08:51:47.940Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Domains"..: timestamp=2023-09-22T08:51:47.792Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Groups"..: timestamp=2023-09-22T08:51:47.792Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Groups"..: timestamp=2023-09-22T08:51:47.792Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Identity Governance"..: timestamp=2023-09-22T08:51:47.792Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Identity Governance"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Invitations"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Invitations"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Policies"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Policies"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Service Principals"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Service Principals"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "User Flows"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "User Flows"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Resources for "Users"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:47 [DEBUG] Registering Data Sources for "Users"..: timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:47.941Z [DEBUG] provider.terraform-provider-azuread: plugin address: address=/tmp/plugin1037941447 network=unix timestamp=2023-09-22T08:51:47.793Z
2023-09-22T08:51:48.381Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/azuread\"]" changed the config value, but that value is unused
2023-09-22T08:51:48.407Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:48 [DEBUG] POST https://login.microsoftonline.com/e3***********/oauth2/v2.0/token: timestamp=2023-09-22T08:51:48.406Z
2023-09-22T08:51:49.016Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:49 [DEBUG] AzureAD Provider access token claims: *** REDACTED ***
2023-09-22T08:51:49.056Z [INFO] ReferenceTransformer: reference not found: "var.group_name"
2023-09-22T08:51:49.061Z [DEBUG] ReferenceTransformer: "data.azuread_group.external_group" references: []
2023-09-22T08:51:49.081Z [DEBUG] ReferenceTransformer: "data.azuread_client_config.current" references: []
data.azuread_client_config.current: Reading...
data.azuread_group.external_group: Reading...
data.azuread_client_config.current: Read complete after 0s [id=e3***********-*******]
2023-09-22T08:51:49.356Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:51:49 [DEBUG] ============================ Begin AzureAD Request ============================
[*** REDACTED ***]
============================= End AzureAD Request =============================: timestamp=2023-09-22T08:51:50.366Z
2023-09-22T08:54:22.307Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:54:22 [DEBUG] ============================ Begin AzureAD Response ===========================
GET https://graph.microsoft.com/beta/groups/3e******/members?%24select=id
Request ID: 26******
HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
Cache-Control: no-cache
Client-Request-Id: 02******
Content-Type: application/json
Date: Fri, 22 Sep 2023 08:54:21 GMT
Request-Id: 02******
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: *** REDACTED ***
X-Ms-Resource-Unit: 2
155
{"error":{"code":"Request_ResourceNotFound","message":"Resource '3e******' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2023-09-22T08:54:22","request-id":"02******","client-request-id":"02******"}}}
0
============================= End AzureAD Response ============================: timestamp=2023-09-22T08:54:22.302Z
2023-09-22T08:54:22.320Z [INFO] provider.terraform-provider-azuread: 2023/09/22 08:54:22 [DEBUG] Group with ID "3e******" was not found - removing group member with ID "3e******/member/d1******" from state: timestamp=2023-09-22T08:54:22.304Z
2023-09-22T08:54:22.331Z [WARN] Provider "registry.terraform.io/hashicorp/azuread" produced an unexpected new value for azuread_group_member.group_member during refresh.
- Root resource was present, but now absent
2023-09-22T08:54:22.361Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2023-09-22T08:54:22.363Z [DEBUG] provider: plugin process exited: path=/home/lbertaux/go/bin/terraform-provider-azuread pid=12547
2023-09-22T08:54:22.363Z [DEBUG] provider: plugin exited
2023-09-22T08:54:22.364Z [DEBUG] building apply graph to check for errors
2023-09-22T08:54:22.364Z [DEBUG] Resource state not found for node "azuread_group_member.group_member", instance azuread_group_member.group_member
2023-09-22T08:54:22.374Z [DEBUG] ProviderTransformer: "azuread_group_member.group_member" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:54:22.375Z [DEBUG] ProviderTransformer: "azuread_group_member.group_member (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:54:22.375Z [DEBUG] ProviderTransformer: "data.azuread_client_config.current (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:54:22.375Z [DEBUG] ProviderTransformer: "data.azuread_group.external_group (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2023-09-22T08:54:22.379Z [DEBUG] ReferenceTransformer: "data.azuread_group.external_group (expand)" references: []
2023-09-22T08:54:22.379Z [DEBUG] ReferenceTransformer: "var.group_name" references: []
2023-09-22T08:54:22.379Z [DEBUG] ReferenceTransformer: "azuread_group_member.group_member" references: [data.azuread_group.external_group (expand) data.azuread_client_config.current (expand)]
2023-09-22T08:54:22.379Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/azuread\"]" references: []
2023-09-22T08:54:22.379Z [DEBUG] ReferenceTransformer: "azuread_group_member.group_member (expand)" references: []
2023-09-22T08:54:22.379Z [DEBUG] ReferenceTransformer: "data.azuread_client_config.current (expand)" references: []
2023-09-22T08:54:22.380Z [INFO] backend/local: plan operation completed
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# azuread_group_member.group_member will be created
+ resource "azuread_group_member" "group_member" {
+ group_object_id = "a6******"
+ id = (known after apply)
+ member_object_id = "d1******"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment