nrkno/terraform-provider-lastpass

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

artm opened this issue · 1 comments

artm commented
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

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.