From 534ab32d5bac6b7e55e3b9d4f26a7e071eedf199 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Wed, 15 Nov 2023 11:06:04 +0300 Subject: [PATCH] update `username_field` default to `username` --- jfrog-token/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jfrog-token/main.tf b/jfrog-token/main.tf index fd7b042..efee07f 100644 --- a/jfrog-token/main.tf +++ b/jfrog-token/main.tf @@ -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'"