Understanding for terraform plugins cache and provider config

Good Morning,
does anyone have experience with provider.tf and terraform plugins ? We have in our environment multiple providers in use.

It is automatic downloading all provider binaries, which takes very long in the deployment.

  • keycloak provider
  • aws provider
  • nomad provider

as small example

in terraspace-cache for every stack i have .terraform/providers with binaries.

the config reference config.terraform.plugin_cache.enabled with standard give me
error like this

Batch Run 3:

│ Error: Required plugins are not installed

│ The installed provider plugins are not consistent with the packages selected in the dependency lock file:
│ - Terraform Registry the cached package for Terraform Registry 5.94.1 (in .terraform/providers) does not match any of the checksums recorded in the dependency lock file

│ Terraform uses external plugins to integrate with a variety of different infrastructure services. To download the plugins required for this configuration, run:
│ terraform init

Terraspace all init to the stack already done.

Thanks and best regards
Oliver

Have you tried with 1 provider only?
Have you delete the cache folder, maybe is corrupted