Skip to content

Instantly share code, notes, and snippets.

@awoimbee
Created December 8, 2021 11:08
Show Gist options
  • Save awoimbee/5f1153f4cf6e26de887de217ce2f61dc to your computer and use it in GitHub Desktop.
Save awoimbee/5f1153f4cf6e26de887de217ce2f61dc to your computer and use it in GitHub Desktop.
terraform azure ad user password bug debug log
2021-12-08T12:00:18.528+0100 [DEBUG] Adding temp file log sink: /tmp/terraform-log3879843825
2021-12-08T12:00:18.528+0100 [INFO] Terraform version: 1.0.11
2021-12-08T12:00:18.528+0100 [INFO] Go runtime version: go1.17.3
2021-12-08T12:00:18.528+0100 [INFO] CLI args: []string{"/usr/bin/terraform", "apply"}
2021-12-08T12:00:18.529+0100 [INFO] CLI command args: []string{"apply"}
-----------------------------------------------------
2021-12-08T12:00:19.843+0100 [DEBUG] created provider logger: level=debug
2021-12-08T12:00:19.843+0100 [INFO] provider: configuring client automatic mTLS
2021-12-08T12:00:19.863+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5]
2021-12-08T12:00:19.863+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 pid=30867
2021-12-08T12:00:19.863+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5
2021-12-08T12:00:19.871+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Resources for "Applications"..: timestamp=2021-12-08T12:00:19.871+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Data Sources for "Applications"..: timestamp=2021-12-08T12:00:19.871+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Resources for "Domains"..: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Data Sources for "Domains"..: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Resources for "Groups"..: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Data Sources for "Groups"..: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Resources for "Service Principals"..: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Data Sources for "Service Principals"..: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Resources for "Users"..: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:19 [DEBUG] Registering Data Sources for "Users"..: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.872+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: configuring server automatic mTLS: timestamp=2021-12-08T12:00:19.872+0100
2021-12-08T12:00:19.934+0100 [DEBUG] provider.terraform-provider-azuread_v2.0.1_x5: plugin address: network=unix address=/tmp/plugin435734467 timestamp=2021-12-08T12:00:19.934+0100
2021-12-08T12:00:19.934+0100 [DEBUG] provider: using plugin: version=5
2021-12-08T12:00:20.002+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-12-08T12:00:20.005+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 pid=30867
2021-12-08T12:00:20.005+0100 [DEBUG] provider: plugin exited
2021-12-08T12:00:20.005+0100 [DEBUG] created provider logger: level=debug
2021-12-08T12:00:20.005+0100 [INFO] provider: configuring client automatic mTLS
2021-12-08T12:00:20.029+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5]
2021-12-08T12:00:20.029+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 pid=30888
2021-12-08T12:00:20.029+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5
2021-12-08T12:00:20.034+0100 [INFO] provider.terraform-provider-random_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-12-08T12:00:20.033+0100
2021-12-08T12:00:20.102+0100 [DEBUG] provider.terraform-provider-random_v3.1.0_x5: plugin address: network=unix address=/tmp/plugin904932336 timestamp=2021-12-08T12:00:20.102+0100
2021-12-08T12:00:20.103+0100 [DEBUG] provider: using plugin: version=5
2021-12-08T12:00:20.154+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-12-08T12:00:20.156+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 pid=30888
2021-12-08T12:00:20.157+0100 [DEBUG] provider: plugin exited
2021-12-08T12:00:20.157+0100 [INFO] terraform: building graph: GraphTypeValidate
2021-12-08T12:00:20.157+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/random"], implied first by module.user.random_password.password
2021-12-08T12:00:20.158+0100 [DEBUG] ProviderTransformer: "module.user.random_password.password" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/random"]
2021-12-08T12:00:20.158+0100 [DEBUG] ProviderTransformer: "module.user.azuread_user.user" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user.azuread_user.user" references: [module.user.random_password.password module.user.var.display_name (expand) module.user.var.email (expand) module.user.random_password.password]
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user.output.name (expand)" references: [module.user.azuread_user.user]
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user.output.temporary_password (expand)" references: [module.user.random_password.password]
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user (expand)" references: []
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user (close)" references: []
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user.random_password.password" references: []
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user.var.display_name (expand)" references: []
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user.var.email (expand)" references: []
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "module.user.var.department (expand)" references: []
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "output.lol" references: [module.user.output.temporary_password (expand)]
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/azuread\"]" references: []
2021-12-08T12:00:20.159+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/random\"]" references: []
2021-12-08T12:00:20.162+0100 [DEBUG] Starting graph walk: walkValidate
2021-12-08T12:00:20.162+0100 [DEBUG] created provider logger: level=debug
2021-12-08T12:00:20.163+0100 [INFO] provider: configuring client automatic mTLS
2021-12-08T12:00:20.185+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5]
2021-12-08T12:00:20.186+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 pid=30904
2021-12-08T12:00:20.186+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Applications"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Applications"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Domains"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Domains"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Groups"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Groups"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Service Principals"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Service Principals"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Users"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.199+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Users"..: timestamp=2021-12-08T12:00:20.199+0100
2021-12-08T12:00:20.200+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: configuring server automatic mTLS: timestamp=2021-12-08T12:00:20.200+0100
2021-12-08T12:00:20.256+0100 [DEBUG] provider.terraform-provider-azuread_v2.0.1_x5: plugin address: address=/tmp/plugin160266191 network=unix timestamp=2021-12-08T12:00:20.256+0100
2021-12-08T12:00:20.256+0100 [DEBUG] provider: using plugin: version=5
2021-12-08T12:00:20.313+0100 [DEBUG] created provider logger: level=debug
2021-12-08T12:00:20.313+0100 [INFO] provider: configuring client automatic mTLS
2021-12-08T12:00:20.329+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5]
2021-12-08T12:00:20.330+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 pid=30925
2021-12-08T12:00:20.330+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5
2021-12-08T12:00:20.334+0100 [INFO] provider.terraform-provider-random_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-12-08T12:00:20.334+0100
2021-12-08T12:00:20.382+0100 [DEBUG] provider.terraform-provider-random_v3.1.0_x5: plugin address: network=unix address=/tmp/plugin800998574 timestamp=2021-12-08T12:00:20.381+0100
2021-12-08T12:00:20.382+0100 [DEBUG] provider: using plugin: version=5
2021-12-08T12:00:20.450+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-12-08T12:00:20.452+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 pid=30925
2021-12-08T12:00:20.452+0100 [DEBUG] provider: plugin exited
2021-12-08T12:00:20.453+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-12-08T12:00:20.456+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 pid=30904
2021-12-08T12:00:20.456+0100 [DEBUG] provider: plugin exited
2021-12-08T12:00:20.456+0100 [INFO] backend/local: apply calling Plan
2021-12-08T12:00:20.456+0100 [INFO] terraform: building graph: GraphTypePlan
2021-12-08T12:00:20.457+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/random"], implied first by module.user.random_password.password (expand)
2021-12-08T12:00:20.457+0100 [DEBUG] ProviderTransformer: "module.user.random_password.password (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/random"]
2021-12-08T12:00:20.457+0100 [DEBUG] ProviderTransformer: "module.user.azuread_user.user (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/azuread"]
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user.output.temporary_password (expand)" references: [module.user.random_password.password (expand)]
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user (close)" references: []
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user.random_password.password (expand)" references: []
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user.azuread_user.user (expand)" references: [module.user.random_password.password (expand) module.user.var.display_name (expand) module.user.var.email (expand) module.user.random_password.password (expand)]
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user.var.department (expand)" references: []
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user.output.name (expand)" references: [module.user.azuread_user.user (expand)]
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user (expand)" references: []
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user.var.email (expand)" references: []
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "module.user.var.display_name (expand)" references: []
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "output.lol" references: [module.user.output.temporary_password (expand)]
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/azuread\"]" references: []
2021-12-08T12:00:20.458+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/random\"]" references: []
2021-12-08T12:00:20.460+0100 [DEBUG] Starting graph walk: walkPlan
2021-12-08T12:00:20.461+0100 [DEBUG] created provider logger: level=debug
2021-12-08T12:00:20.461+0100 [INFO] provider: configuring client automatic mTLS
2021-12-08T12:00:20.482+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5]
2021-12-08T12:00:20.483+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 pid=30941
2021-12-08T12:00:20.483+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5
2021-12-08T12:00:20.488+0100 [INFO] provider.terraform-provider-random_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-12-08T12:00:20.487+0100
2021-12-08T12:00:20.538+0100 [DEBUG] provider: using plugin: version=5
2021-12-08T12:00:20.538+0100 [DEBUG] provider.terraform-provider-random_v3.1.0_x5: plugin address: address=/tmp/plugin330391521 network=unix timestamp=2021-12-08T12:00:20.538+0100
2021-12-08T12:00:20.591+0100 [DEBUG] created provider logger: level=debug
2021-12-08T12:00:20.591+0100 [INFO] provider: configuring client automatic mTLS
2021-12-08T12:00:20.614+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5]
2021-12-08T12:00:20.614+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 pid=30957
2021-12-08T12:00:20.614+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5
2021-12-08T12:00:20.629+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Applications"..: timestamp=2021-12-08T12:00:20.629+0100
2021-12-08T12:00:20.629+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Applications"..: timestamp=2021-12-08T12:00:20.629+0100
2021-12-08T12:00:20.629+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Domains"..: timestamp=2021-12-08T12:00:20.629+0100
2021-12-08T12:00:20.629+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Domains"..: timestamp=2021-12-08T12:00:20.629+0100
2021-12-08T12:00:20.629+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Groups"..: timestamp=2021-12-08T12:00:20.629+0100
2021-12-08T12:00:20.629+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Groups"..: timestamp=2021-12-08T12:00:20.629+0100
2021-12-08T12:00:20.629+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Service Principals"..: timestamp=2021-12-08T12:00:20.629+0100
2021-12-08T12:00:20.630+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Service Principals"..: timestamp=2021-12-08T12:00:20.629+0100
2021-12-08T12:00:20.630+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Resources for "Users"..: timestamp=2021-12-08T12:00:20.630+0100
2021-12-08T12:00:20.630+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:20 [DEBUG] Registering Data Sources for "Users"..: timestamp=2021-12-08T12:00:20.630+0100
2021-12-08T12:00:20.630+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: configuring server automatic mTLS: timestamp=2021-12-08T12:00:20.630+0100
2021-12-08T12:00:20.682+0100 [DEBUG] provider.terraform-provider-azuread_v2.0.1_x5: plugin address: address=/tmp/plugin253784028 network=unix timestamp=2021-12-08T12:00:20.682+0100
2021-12-08T12:00:20.683+0100 [DEBUG] provider: using plugin: version=5
2021-12-08T12:00:20.725+0100 [DEBUG] Resource instance state not found for node "module.user.random_password.password", instance module.user.random_password.password
2021-12-08T12:00:20.726+0100 [DEBUG] ReferenceTransformer: "module.user.random_password.password" references: []
2021-12-08T12:00:20.726+0100 [DEBUG] refresh: module.user.random_password.password: no state, so not refreshing
2021-12-08T12:00:20.730+0100 [WARN] Provider "registry.terraform.io/hashicorp/random" produced an invalid plan for module.user.random_password.password, 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:
- .min_numeric: planned value cty.NumberIntVal(0) for a non-computed attribute
- .min_special: planned value cty.NumberIntVal(0) for a non-computed attribute
- .min_upper: planned value cty.NumberIntVal(0) for a non-computed attribute
- .min_lower: planned value cty.NumberIntVal(0) for a non-computed attribute
2021-12-08T12:00:20.731+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-12-08T12:00:20.732+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5 pid=30941
2021-12-08T12:00:20.732+0100 [DEBUG] provider: plugin exited
2021-12-08T12:00:20.734+0100 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/azuread\"]" changed the config value, but that value is unused
2021-12-08T12:00:21.195+0100 [DEBUG] Resource instance state not found for node "module.user.azuread_user.user", instance module.user.azuread_user.user
2021-12-08T12:00:21.196+0100 [INFO] ReferenceTransformer: reference not found: "random_password.password"
2021-12-08T12:00:21.196+0100 [INFO] ReferenceTransformer: reference not found: "var.email"
2021-12-08T12:00:21.196+0100 [INFO] ReferenceTransformer: reference not found: "var.display_name"
2021-12-08T12:00:21.196+0100 [DEBUG] ReferenceTransformer: "module.user.azuread_user.user" references: []
2021-12-08T12:00:21.196+0100 [DEBUG] refresh: module.user.azuread_user.user: no state, so not refreshing
2021-12-08T12:00:21.204+0100 [INFO] provider.terraform-provider-azuread_v2.0.1_x5: 2021/12/08 12:00:21 [DEBUG] Begin AzureAD Request: ==========================================
GET /beta/a0ca68a2-12a2-4f32-91d5-5aca5ff21737/users/454ee9db-c4de-4a4e-bb72-1fae04f7c26d HTTP/1.1
Host: graph.microsoft.com
User-Agent: HashiCorp Terraform/1.0.11 (+https://www.terraform.io) Terraform Plugin SDK/2.7.0 terraform-provider-azuread/2.0.1 Hamilton (Go-http-client/1.1) pid-222c6c49-1b0a-5959-a213-6608f9eb8820
Accept: application/json
Content-Type: application/json; charset=utf-8
Accept-Encoding: gzip
╷
│ Error: `password` is required when creating a new user
│ 
│  with module.user.azuread_user.user,
│  on user/main.tf line 26, in resource "azuread_user" "user":
│  26: resource "azuread_user" "user" {
│ 
╵
2021-12-08T12:00:21.487+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-12-08T12:00:21.490+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.0.1/linux_amd64/terraform-provider-azuread_v2.0.1_x5 pid=30957
2021-12-08T12:00:21.490+0100 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment