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

Fix users variable to make type property optional as per documentation #219

Open
imprateeksh opened this issue Jul 5, 2024 · 0 comments
Assignees

Comments

@imprateeksh
Copy link
Member

The official documentation specifies that the user type property within the users variable should be optional.

Our current module configuration enforces the type property as a required field for each user object. This should be addressed to align with the documentation.

Currently, the users variable is defined as follows, making the type property required:

variable "users" {
  type = list(object({
    name     = string
    password = string # pragma: allowlist secret
    type     = string # "type" is required to generate the connection string for the outputs.
    role     = optional(string)
  }))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants