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

Recreate item when it is missing #97

Open
miguelaferreira opened this issue Jul 24, 2023 · 2 comments
Open

Recreate item when it is missing #97

miguelaferreira opened this issue Jul 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@miguelaferreira
Copy link

miguelaferreira commented Jul 24, 2023

Your environment

Terraform Provider Version: 1.1.4 (due to this bug on later versions)

Connect Server Version: latest which at this moment should be 1.7.1

OS: Linux (running the container that 1Password provides)

Terraform Version: v1.4.6

What happened?

I used the item resource to create an item in a vault. Then I deleted the item in the vault, and ran terraform again. Terraform threw an error after refresh saying that the item wasn't found.

What did you expect to happen?

I expected that terraform would recreate the item.

Steps to reproduce

  1. Create an item using the provider
  2. Delete the item
  3. Run terraform again

Notes & Logs

@miguelaferreira miguelaferreira added the bug Something isn't working label Jul 24, 2023
@Ramblurr
Copy link

Yes this is still a problem:

│ Error: op error: "abc123" isn't an item in the "abc123" vault.

@maxexcloo
Copy link

Same issue for me, complains that the item can't be found.

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

No branches or pull requests

3 participants