update `username_field` default to `username`

pull/100/head
Muhammad Atif Ali 2 years ago committed by GitHub
parent baf1936b56
commit 534ab32d5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,8 +43,8 @@ variable "expires_in" {
variable "username_field" {
type = string
description = "The field to use for the artifactory username. i.e. Coder username or email."
default = "email"
description = "The field to use for the artifactory username. Default `username`."
default = "username"
validation {
condition = can(regex("^(email|username)$", var.username_field))
error_message = "username_field must be either 'email' or 'username'"

Loading…
Cancel
Save