Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

users variable is defined invalid #7

Open
andreyluchianic opened this issue Feb 17, 2023 · 1 comment
Open

users variable is defined invalid #7

andreyluchianic opened this issue Feb 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@andreyluchianic
Copy link
Contributor

andreyluchianic commented Feb 17, 2023

Describe the bug
#6

in examples users is list ob object

users = [
    { name = "admin", password = "password", admin = true },
    { name = "user", password = "md55f4dcc3b5aa765d61d8327deb882cf99" }
  ]

Steps to reproduce
I wonder is this project still working ??

Expected behavior

Screenshots

Additional context

@wisefool769
Copy link

Yeah lol. I got further after setting

variable "users" {
  description = "The list of users to be created in PgBouncer's userlist.txt. Passwords can be provided as plain-text or md5 hashes."
  type        = list(object({
    name = string,
    password = string
  }))
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants