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

Deleting a Vault from 1Password doesn't trigger recreate #17

Open
taiidani opened this issue Aug 14, 2019 · 1 comment
Open

Deleting a Vault from 1Password doesn't trigger recreate #17

taiidani opened this issue Aug 14, 2019 · 1 comment
Assignees

Comments

@taiidani
Copy link
Collaborator

Provider Version 0.4.1
Terraform Version 0.12.6

While testing this provider, I applyed a vault in my org's 1Password installation with

resource "onepassword_vault" "test" {
  name = "test"
}

I then manually deleted it from the 1Password web interface and ran the apply again.

  • Expected: The vault would be recreated.
  • Observed: During the state refresh the following error was emitted, stopping the run:
Error: some error in command [get vault 4so7dvevkgmznzwbd3cgoagnty]
Error: exit status 1
Output: [LOG] 2019/08/14 07:34:14 (ERROR) vault 4so7dvevkgmznzwbd3cgoagnty not found
@anasinnyk
Copy link
Owner

We have some limitation here. If you delete it form UI application it removed forever, this provider use cli client. When we remove it from cli we cannot remove vault forever. We just move it to trash. Hm... maybe we should try re-create it if we have some problem like that. I will check it later. Thanks for this issue.

@anasinnyk anasinnyk self-assigned this Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants