Comments (3)
Hi @nnovaes,
Thank you very much for opening a ticket and providing this much detail 👐
I think I was able to reproduce the problem when I provide the Connect token through Terraform's prompt instead of through the OP_CONNECT_TOKEN
environment variable. I have opened a PR to address this.
While this is not yet released, you could try setting setting your token through an environment variable:
export OP_CONNECT_TOKEN=<your-token>
terraform apply
If that works for you, I expect the problem to be resolved in the next release of the provider.
from terraform-provider-onepassword.
it did give me a different error message,
so what ultimately worked was to run export TF_VAR_OP_CONNECT_TOKEN="<TOKEN HERE>"
and configure my .tf like this:
variable "OP_CONNECT_TOKEN" {
}
provider "onepassword" {
url = "http://localhost:8080"
token = var.OP_CONNECT_TOKEN
}
i guess the documentation should mention the token is passed from terraform, not the docker services running, so adding TF_VAR before the actual var name is needed.
from terraform-provider-onepassword.
Good to hear you got it working! 🎉
But it does indeed sound like we need to clear up some things in the docs or in how the provider works. I think that is partly addressed in this PR, but I'd like to figure out if we have to do more than that.
So could you maybe share the error you got when setting OP_CONNECT_TOKEN
directly?
from terraform-provider-onepassword.
Related Issues (20)
- Feature Request: Item Files HOT 1
- Feature Request: Support managing item attributes that have their own lifecycle HOT 1
- Feature Request: Password Rotation HOT 1
- Feature Request: Support RFC3339 as input for fields of type DATE and MONTH_YEAR HOT 1
- Potential data loss when using multiline fields HOT 2
- Field of type 'DATE' updates item even if there were no changes HOT 1
- Entry is created with wrong password HOT 3
- biometric unlock many times HOT 2
- Run provider on Terraform Cloud HOT 2
- Triggering the changes on the unchanged resource HOT 1
- Terraform plugin throws version error with op CLI HOT 1
- Provider doesn't work with beta CLI version HOT 1
- Support for Secure Note HOT 1
- If I use the vault name when defining an item, and rerun terraform, it wants to recreate the item as it has a diff with the vault name versus vault UUID HOT 1
- onepassword_item tags not in alphabetical order have constant diffs
- Terraform Resource for 1Password Vaults
- onepassword_item with login category, cannot remove the password box in 1password unless the password parameter is commented out
- Code check should not warn "Unresolved reference uuid" for data onepassword_vault
- Allow creating entries with multi-line strings
- OpenTofu Registry - Provider signing with GPG key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-onepassword.