christippett/terraform-google-cloud-sql-pgbouncer

`users` variable is defined invalid

andreyluchianic opened this issue · 1 comments

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

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
  }))
}