You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this amazing provider, we are testing it to manage the items from vaultwarden but we have a dilemma.
Is there any possibility to implement the management of resources created manually? Something like mentioned here for aws for example.
Our tests are using data sources and then take the id from them to manage changes of it through resources but they ended up in a new item always.
Thanks again.
The text was updated successfully, but these errors were encountered:
Hi @kip-13,
What kind of existing resources are you interested in managing. I think you have two main possibilities:
Importing resources in your workspace, using the terraform/tofu import command (example for bitwarden_secret). This is useful if you want to manage a existing resource entirely with Terraform. If you later you decide to have it manage outside of Terraform, you still could run terraform state rm to remove it from the state.
Using Data Source, to read information from an existing Bitwarden resource and use it with other resources (example for bitwarden_folder).
What kind of existing resources are you interested in managing
We are trying to update an existent secure_note in vaultwarden, as I said before it doesn't matter if we set the id attr for the resource fetched from data because that id doesn't mean the secure_note id from vaultwarden.
Importing resources in your workspace, using the terraform/tofu import
So from the options you mentioned, probably the import is the easiest one without change in the code or logic, we missed that part of the docs.
Hey 👋
Thanks for this amazing provider, we are testing it to manage the items from vaultwarden but we have a dilemma.
Is there any possibility to implement the management of resources created manually? Something like mentioned here for aws for example.
Our tests are using data sources and then take the id from them to manage changes of it through resources but they ended up in a new item always.
Thanks again.
The text was updated successfully, but these errors were encountered: