Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onepassword_item with login category, cannot remove the password box in 1password unless the password parameter is commented out #157

Closed
scott-doyland-burrows opened this issue Feb 29, 2024 · 0 comments · Fixed by #167
Labels
bug Something isn't working

Comments

@scott-doyland-burrows
Copy link

terraform 1.7.4
provider 1.4.2
1password CLI 2.25.0

resource "onepassword_item" "item" {
...
...
  username = var.myvar != null ? "test : ""
  password = var.myvar != null ? "test : "there is no password"
}

I want to REMOVE the password box from 1password and not have it say "there is no password".

But the only way to remove is is to comment out the password line, which obviously won't work in my use case.

Setting there is no password to null or "" doesn't remove the password box, in fact it doesnt even update what is currently set for the password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant