terraform-google-cloud-sql-pgbouncer icon indicating copy to clipboard operation
terraform-google-cloud-sql-pgbouncer copied to clipboard

`users` variable is defined invalid

Open andreyluchianic opened this issue 2 years ago • 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

andreyluchianic avatar Feb 17 '23 08:02 andreyluchianic

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

wisefool769 avatar Sep 15 '23 03:09 wisefool769