nrkno / terraform-provider-lastpass

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

How to set a folder name while creating a credentials? #21

Closed kaushik-xs closed 4 years ago

kaushik-xs commented 4 years ago

I have organised my password into folders. How to set the name of the folder while creating a credential?

Screenshot 2020-05-17 at 11 45 12 AM
martensson commented 4 years ago

Hi @kaushik-xs, This is set in the name:

resource "lastpass_secret" "mysecret" {
    name = "some dir/test123"
    username = "foo"
    password = "test123"
    note = <<EOF
ABC
DEF
EOF
}

Let me know if you encounter any problems.