Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoCan't use password field in another provider
Hi,
i try to use the terraform onepassword provider to fetch token for another provider in this way:
```
terraform {
required_providers {
hcloud = {
source = "hetznercloud/h...
Former Member
4 years agoHey TnT,
I can confirm that you should be able to reference the password field of an item in the provider config like you have shown.
One thing that I would like to check is that you have set the OP_CONNECT_TOKEN environment variable to the Token created for your connect server. The 1Password provider requires a token to populate the password datasource. If that value is not set in the provider or the environment variable it can also result in a "The argument "token" is required, but no definition was found." error from Terraform since both providers expect a token