Replies: 2 comments 3 replies
|
Hi @LarsSven, There is exactly the same mechanism. Here is the documentation: https://opentofu.org/docs/cli/config/config-file/#development-overrides-for-provider-developers If this doesn't work, feel free to share your error message or anything that could give more context. This way we can focus on specific issues that you encounter. Since the providers are written in go, you can easily point your provider_installation {
dev_overrides {
"opentofu/my_provider" = "<Add here the path printed by `go env GOBIN`>"
}
direct {}
}After this, in your terraform {
required_providers {
my_provider = {
source = "opentofu/my_provider"
}
}
} |
|
Thanks for the information! I'll have a look at that. In Terraform I don't have to go through the dev_overrides at all though. If I place a provider in |
Uh oh!
There was an error while loading. Please reload this page.
I am working on the development of a plugin, so I want to reference a provider that is installed locally. In Terraform you can put them in the
~/.terraform.dlocal directory, but I cannot find a similar thing for OpenTofu. How can I achieve this in OpenTofu?All reactions