Closed chrthal closed 21 hours ago
Hi @chrthal That's essentially to not have to use the resource you linked right, but support the upload of in-memory attachments out of the box ? I would be a bit worried about files laying around on the disk if the provider/Terraform crashes. It would be nice if the cli allowed us to pass attachment from stdin instead of requiring them to be on disk.
Yeah, that's what I thought at first, but I haven't had a look at the cli documentation....
For me, the thing is that I run it in a pipeline so that the files are recreated on each run.
Hi! I've implemented experimental support for using the provider without requiring the Bitwarden CLI to be installed. If you have the opportunity, please give it a try! Talking directly to the API would open up the possibility of creating attachment without storing them on disk first.
Released in v0.12.0
Hi @maxlaverse , It would be nice to just provide the content of a file like a generated string without providing a path. Like when creating a file https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file