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

Validation Error in additional_worker_groups #21

Closed
DebakelOrakel opened this issue Aug 10, 2021 · 0 comments · Fixed by #22
Closed

Validation Error in additional_worker_groups #21

DebakelOrakel opened this issue Aug 10, 2021 · 0 comments · Fixed by #22
Assignees
Labels
bug Something isn't working

Comments

@DebakelOrakel
Copy link
Contributor

The validation message states:

Your configuration of `additional_worker_groups` violates one of the following
constraints:
 * The worker count cannot be less than 0.

But the validation is done like this:

variable "additional_worker_groups" {
  ...
  validation {
    condition = alltrue([
      for k, v in var.additional_worker_groups :
        ...
        v.count > 0 &&
        ...
      ])
  }
}
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

Successfully merging a pull request may close this issue.

2 participants