terraform-provider-vault icon indicating copy to clipboard operation
terraform-provider-vault copied to clipboard

[Bug]: panic: interface conversion: interface {} is []interface {}, not *schema.Set

Open dimitdb9 opened this issue 6 months ago • 1 comments
trafficstars

Terraform Core Version

1.10.0

Terraform Vault Provider Version

4.8.0

Vault Server Version

1.19.1

Affected Resource(s)

data.vault_identity_entity

Expected Behavior

terraform plan and apply to succeed

Actual Behavior

terraform plan command does not complete

Relevant Error/Panic Output Snippet

panic: interface conversion: interface {} is []interface {}, not *schema.Set

goroutine 4068 [running]:
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.SerializeValueForHash(0x140009ad180, {0x103d6abc0, 0x140010158d8}, 0x140006ff900)
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/serialize.go:72 +0x2dc
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.SerializeResourceForHash(0x140009ad180, {0x103dfc8c0?, 0x14000f7c8d0}, 0x140008f9bc0?)
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/serialize.go:118 +0x270
github.com/hashicorp/terraform-provider-vault/vault.identityEntityDataSourceRead.HashResource.func2({0x103dfc8c0?, 0x14000f7c8d0?})
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/set.go:36 +0x40
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Set).hash(0x0?, {0x103dfc8c0?, 0x14000f7c8d0?})
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/set.go:221 +0x34
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Set).add(0x14000c91380, {0x103dfc8c0, 0x14000f7c8d0}, 0x0)
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/set.go:201 +0x6c
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Set).Add(...)
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/set.go:79
github.com/hashicorp/terraform-provider-vault/vault.identityEntityDataSourceRead(0x14000a1db00, {0x103f553a0?, 0x14000558e00?})
	github.com/hashicorp/terraform-provider-vault/vault/data_identity_entity.go:276 +0x6b0
github.com/hashicorp/terraform-provider-vault/vault.identityEntityDataSource.ReadWrapper.func1(0x14000a1db00, {0x103f553a0, 0x14000558e00})
	github.com/hashicorp/terraform-provider-vault/internal/provider/provider.go:249 +0x58
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x103ffd508?, {0x103ffd508?, 0x1400088d0e0?}, 0xd?, {0x103f553a0?, 0x14000558e00?})
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:783 +0x130
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0x1400019f6c0, {0x103ffd508, 0x1400088d0e0}, 0x14000a1da00, {0x103f553a0, 0x14000558e00})
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1015 +0x110
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0x14000886df8, {0x103ffd508?, 0x1400088d020?}, 0x14000ff0960)
	github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1251 +0x2e0
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadDataSource(0x14000622e60, {0x103ffd508?, 0x1400106bbc0?}, 0x14000e35e50)
	github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:699 +0x31c
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x103fa0a00, 0x14000622e60}, {0x103ffd508, 0x1400106bbc0}, 0x14000a1d880, 0x0)
	github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:539 +0x1c0
google.golang.org/grpc.(*Server).processUnaryRPC(0x1400015a200, {0x103ffd508, 0x1400106bb30}, {0x104004a80, 0x14000972000}, 0x14000c4c7e0, 0x140008a2f30, 0x104a13fc8, 0x0)
	google.golang.org/[email protected]/server.go:1385 +0xb40
google.golang.org/grpc.(*Server).handleStream(0x1400015a200, {0x104004a80, 0x14000972000}, 0x14000c4c7e0)
	google.golang.org/[email protected]/server.go:1796 +0xc00
google.golang.org/grpc.(*Server).serveStreams.func2.1()
	google.golang.org/[email protected]/server.go:1029 +0x84
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 28
	google.golang.org/[email protected]/server.go:1040 +0x13c

Error: The terraform-provider-vault_v4.8.0_x5 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

Terraform Configuration Files

terraform {
  required_providers {
    vault = {
      configuration_aliases = [vault.root]
    }
  }
}

# read the data for the oidc auth backend connected to SAP IdP
# to find the mount_accessor
data "vault_auth_backend" "oidc_sapidp" {
  provider = vault.root
  path     = "oidc"
}

# read the identity of the administrator. the admin
# needs to have loogged onto the root namespace once
# via OIDC before the identiy can be found  
data "vault_identity_entity" "ns_admins" {
  count                = length(var.admin)
  alias_name           = upper(var.admin[count.index])
  alias_mount_accessor = data.vault_auth_backend.oidc_sapidp.accessor
}

# creat the entity group for the namespace administrators
# to attach the administrators oidc entities of the root namespace
# to it for them to become namespace admins
resource "vault_identity_group" "namespace_admin_group" {
  name              = "namespace-admin"
  namespace         = var.namespace
  type              = "internal"
  policies          = ["namespace-admin"]
  member_entity_ids = data.vault_identity_entity.ns_admins[*].entity_id

  metadata = {
    note = "This group is managed by Vault Tools Team"
  }
}

variable "namespace" {
  type        = string
}

variable "admin" {
  type        = list(string)
}

Steps to Reproduce

Debug Output

2025-05-02T10:21:23.483+0300 [TRACE] provider.terraform-provider-vault_v4.8.0_x5: Served request: tf_proto_version=5.4 tf_provider_addr=provider tf_req_id=372b7324-e5b6-b445-8399-51a1cbe9a2fb tf_rpc=ValidateDataSourceConfig tf_
Stack trace from the terraform-provider-vault_v4.8.0_x5 plugin:
2025-05-02T10:21:19.073+0300 [INFO]  Terraform version: 1.10.0
2025-05-02T10:21:19.073+0300 [DEBUG] using github.com/hashicorp/go-tfe v1.70.0
2025-05-02T10:21:19.073+0300 [DEBUG] using github.com/hashicorp/hcl/v2 v2.23.0
2025-05-02T10:21:19.073+0300 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2025-05-02T10:21:19.073+0300 [DEBUG] using github.com/zclconf/go-cty v1.15.1-0.20241111215639-63279be090d7
2025-05-02T10:21:19.073+0300 [INFO]  Go runtime version: go1.23.3
2025-05-02T10:21:19.073+0300 [INFO]  CLI args: []string{"/Users/I747925/.tfenv/versions/1.10.0/terraform", "plan", "-var-file=stage.tfvars", "-lock=false"}
2025-05-02T10:21:19.073+0300 [TRACE] Stdout is a terminal of width 227
2025-05-02T10:21:19.073+0300 [TRACE] Stderr is a terminal of width 227
2025-05-02T10:21:19.073+0300 [TRACE] Stdin is a terminal
2025-05-02T10:21:19.073+0300 [DEBUG] Attempting to open CLI config file: /Users/I747925/.terraformrc
2025-05-02T10:21:19.073+0300 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2025-05-02T10:21:19.073+0300 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2025-05-02T10:21:19.073+0300 [DEBUG] ignoring non-existing provider search directory /Users/I747925/.terraform.d/plugins
2025-05-02T10:21:19.073+0300 [DEBUG] ignoring non-existing provider search directory /Users/I747925/Library/Application Support/io.terraform/plugins
2025-05-02T10:21:19.073+0300 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2025-05-02T10:21:19.074+0300 [INFO]  CLI command args: []string{"plan", "-var-file=stage.tfvars", "-lock=false"}
2025-05-02T10:21:19.074+0300 [TRACE] Meta.Backend: built configuration for "gcs" backend with hash value 1543364987
2025-05-02T10:21:19.075+0300 [TRACE] Meta.Backend: working directory was previously initialized for "gcs" backend
2025-05-02T10:21:19.075+0300 [TRACE] Meta.Backend: using already-initialized, unchanged "gcs" backend configuration
2025-05-02T10:21:19.075+0300 [TRACE] Meta.Backend: instantiated backend of type *gcs.Backend
2025-05-02T10:21:19.075+0300 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2025-05-02T10:21:19.076+0300 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/vault v4.3.0 for darwin_arm64 at .terraform/providers/registry.terraform.io/hashicorp/vault/4.3.0/darwin_arm64
2025-05-02T10:21:19.076+0300 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/vault v4.6.0 for darwin_arm64 at .terraform/providers/registry.terraform.io/hashicorp/vault/4.6.0/darwin_arm64
2025-05-02T10:21:19.076+0300 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/vault v4.7.0 for darwin_arm64 at .terraform/providers/registry.terraform.io/hashicorp/vault/4.7.0/darwin_arm64
2025-05-02T10:21:19.076+0300 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/vault v4.8.0 for darwin_arm64 at .terraform/providers/registry.terraform.io/hashicorp/vault/4.8.0/darwin_arm64
2025-05-02T10:21:19.076+0300 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/vault/4.3.0/darwin_arm64 as a candidate package for registry.terraform.io/hashicorp/vault 4.3.0
2025-05-02T10:21:19.076+0300 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/vault/4.6.0/darwin_arm64 as a candidate package for registry.terraform.io/hashicorp/vault 4.6.0
2025-05-02T10:21:19.076+0300 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/vault/4.7.0/darwin_arm64 as a candidate package for registry.terraform.io/hashicorp/vault 4.7.0
2025-05-02T10:21:19.076+0300 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/vault/4.8.0/darwin_arm64 as a candidate package for registry.terraform.io/hashicorp/vault 4.8.0
2025-05-02T10:21:19.094+0300 [DEBUG] checking for provisioner in "."
2025-05-02T10:21:19.094+0300 [DEBUG] checking for provisioner in "/Users/I747925/.tfenv/versions/1.10.0"
2025-05-02T10:21:19.094+0300 [TRACE] Meta.Backend: backend *gcs.Backend does not support operations, so wrapping it in a local backend
2025-05-02T10:21:19.096+0300 [INFO]  backend/local: starting Plan operation
2025-05-02T10:21:19.096+0300 [TRACE] backend/local: requesting state manager for workspace "default"
2025-05-02T10:21:19.853+0300 [TRACE] backend/local: requesting state lock for workspace "default"
2025-05-02T10:21:19.854+0300 [TRACE] backend/local: reading remote state for workspace "default"
2025-05-02T10:21:20.167+0300 [TRACE] backend/local: populating backendrun.LocalRun for current working directory
2025-05-02T10:21:20.170+0300 [TRACE] Config.VerifyDependencySelections: provider registry.terraform.io/hashicorp/vault has 4.8.0 to satisfy "4.8.0"
2025-05-02T10:21:20.171+0300 [TRACE] terraform.NewContext: starting
2025-05-02T10:21:20.171+0300 [TRACE] terraform.NewContext: complete
2025-05-02T10:21:20.171+0300 [TRACE] backend/local: requesting interactive input, if necessary
2025-05-02T10:21:20.171+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/vault"
2025-05-02T10:21:20.171+0300 [TRACE] terraform.contextPlugins: Initializing provider "registry.terraform.io/hashicorp/vault" to read its schema
2025-05-02T10:21:20.171+0300 [DEBUG] created provider logger: level=trace
2025-05-02T10:21:20.171+0300 [INFO]  provider: configuring client automatic mTLS
2025-05-02T10:21:20.182+0300 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/vault/4.8.0/darwin_arm64/terraform-provider-vault_v4.8.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/vault/4.8.0/darwin_arm64/terraform-provider-vault_v4.8.0_x5"]
2025-05-02T10:21:20.190+0300 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/vault/4.8.0/darwin_arm64/terraform-provider-vault_v4.8.0_x5 pid=97304
2025-05-02T10:21:20.190+0300 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/vault/4.8.0/darwin_arm64/terraform-provider-vault_v4.8.0_x5
2025-05-02T10:21:20.208+0300 [INFO]  provider.terraform-provider-vault_v4.8.0_x5: configuring server automatic mTLS: timestamp="2025-05-02T10:21:20.207+0300"
2025-05-02T10:21:20.215+0300 [DEBUG] provider: using plugin: version=5
2025-05-02T10:21:20.215+0300 [DEBUG] provider.terraform-provider-vault_v4.8.0_x5: plugin address: address=/var/folders/lh/mj8p8h1d6cldbqkzdrl4g5kh0000gn/T/plugin4213703851 network=unix timestamp="2025-05-02T10:21:20.215+0300"
2025-05-02T10:21:20.221+0300 [TRACE] GRPCProvider: GetProviderSchema
2025-05-02T10:21:20.221+0300 [TRACE] provider.stdio: waiting for stdio data
2025-05-02T10:21:20.221+0300 [TRACE] provider.terraform-provider-vault_v4.8.0_x5: Received request: @caller=github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:531 @module=sdk.proto tf_proto_version=5.4 tf_provider_addr=provider tf_req_id=05ac10d8-314c-5d37-a2b7-26d69e7d32fc tf_rpc=GetProviderSchema timestamp="2025-05-02T10:21:20.221+0300"
2025-05-02T10:21:20.221+0300 [TRACE] provider.terraform-provider-vault_v4.8.0_x5: Sending request downstream: @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:20 @module=sdk.proto tf_proto_version=5.4 tf_provider_addr=provider tf_req_id=05ac10d8-314c-5d37-a2b7-26d69e7d32fc tf_rpc=GetProviderSchema timestamp="2025-05-02T10:21:20.221+0300"
2025-05-02T10:21:20.221+0300 [TRACE] provider.terraform-provider-vault_v4.8.0_x5: Getting provider schema: @module=sdk.helper_schema tf_provider_addr=provider tf_req_id=05ac10d8-314c-5d37-a2b7-26d69e7d32fc tf_rpc=GetProviderSchema @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:106 timestamp="2025-05-02T10:21:20.221+0300"
2025-05-02T10:21:20.221+0300 [TRACE] provider.terraform-provider-vault_v4.8.0_x5: Found resource type: @module=sdk.helper_schema tf_provider_addr=provider tf_req_id=05ac10d8-314c-5d37-a2b7-26d69e7d32fc tf_resource_type=vault_identity_group @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:124 tf_rpc=GetProviderSchema timestamp="2025-05-02T10:21:20.221+0300"
2025-05-02T10:21:20.221+0300 [TRACE] provider.terraform-provider-vault_v4.8.0_x5: Found resource type: tf_provider_addr=provider tf_req_id=05ac10d8-314c-5d37-a2b7-26d69e7d32fc tf_resource_type=vault_approle_auth_backend_role_se
...skipping...
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Plugin did not respond
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Plugin did not respond
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Plugin did not respond
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [ERROR] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)" error: Request cancelled
2025-05-02T10:21:23.551+0300 [TRACE] vertex "module.namespace_admin.data.vault_identity_entity.ns_admins (expand)": visit complete, with errors
2025-05-02T10:21:23.551+0300 [TRACE] dag/walk: upstream of "module.namespace_admin.vault_identity_group.namespace_admin_group (expand)" errored, so skipping
2025-05-02T10:21:23.551+0300 [TRACE] dag/walk: upstream of "module.namespace_admin (close)" errored, so skipping
2025-05-02T10:21:23.551+0300 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/hashicorp/vault\"] (close)" errored, so skipping
2025-05-02T10:21:23.551+0300 [TRACE] dag/walk: upstream of "root" errored, so skipping
2025-05-02T10:21:23.552+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/vault"
2025-05-02T10:21:23.552+0300 [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/hashicorp/vault" is in the global cache
2025-05-02T10:21:23.560+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/vault"
2025-05-02T10:21:23.560+0300 [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/hashicorp/vault" is in the global cache
2025-05-02T10:21:23.561+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/vault"
2025-05-02T10:21:23.561+0300 [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/hashicorp/vault" is in the global cache
2025-05-02T10:21:23.565+0300 [WARN]  Planning encountered errors, so plan is not applyable
2025-05-02T10:21:23.565+0300 [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/hashicorp/vault" is in the global cache
2025-05-02T10:21:23.565+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/vault"
2025-05-02T10:21:23.565+0300 [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/hashicorp/vault" is in the global cache
2025-05-02T10:21:23.566+0300 [INFO]  backend/local: plan operation completed
2025-05-02T10:21:23.566+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/vault"
2025-05-02T10:21:23.566+0300 [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/hashicorp/vault" is in the global cache
2025-05-02T10:21:23.611+0300 [DEBUG] provider: plugin exited

Panic Output

No response

Important Factoids

Tried using the previous provider version 4.7 - same error Tried using version 4.6 - same error Tried upgrading core to 1.11 - same error

References

No response

Would you like to implement a fix?

None

dimitdb9 avatar May 02 '25 07:05 dimitdb9