can create new entries with random password not erased after new excution

This commit is contained in:
2025-05-26 23:35:23 +01:00
parent 810fa2951a
commit 85026544e8
+19
View File
@@ -34,7 +34,26 @@ output "pgpin" {
sensitive = true sensitive = true
} }
resource "random_password" "password" {
length = 16
special = true
override_special = "!#$%&*()-_=+[]{}<>:?"
}
resource "bitwarden_item_secure_note" "terraform_upload_testing" {
name = "terraform upload testing"
# notes = <<EOT
#[global]
#secret = "<something sensitive>"
#EOT
organization_id = "a6361589-badd-4bde-9cb4-af8901161c0d"
collection_ids = ["3fa902cd-8244-46bc-a4ea-af8901262d94"]
field {
name = "category"
hidden = random_password.password.result
}
}
variable "kubernetes" { variable "kubernetes" {
type = map(object({ type = map(object({