nrkno / terraform-provider-lastpass

Terraform Lastpass provider
Apache License 2.0
61 stars 7 forks source link

Placing a secret into nested folders doesn't seem to work #53

Closed artm closed 1 year ago

artm commented 2 years ago
resource "lastpass_secret" "cluster_token" {
  name     = "shared-linux/dev/${var.cluster_name}/cluster_token"
  password = random_password.cluster_token.result
}

creates a folder with slashes in its name instead of nested folder(s):

image

artm commented 1 year ago

I think that was due to lastpass' inconsistent path specification, it expects '\' (= "\" in hcl string) between folders and '/' between the last folder and the secret.