variable "name" {
  description = "Name of service"
  type        = string
}

variable "oidc_client_config" {
  description = "Authelia oidc client configuration to enable oidc authentication"
  type = object({
    description          = string
    authorization_policy = optional(string, "one_factor")
    redirect_uris        = list(string)
    scopes               = list(string)
  })
}

variable "job_acl" {
  description = "Job ACL that should be given to the secrets"
  type = object({
    job_id = string
    group  = optional(string)
    task   = optional(string)
  })

  default = null
}