diff --git a/git-config/main.tf b/git-config/main.tf index 7482a42..64be5c1 100644 --- a/git-config/main.tf +++ b/git-config/main.tf @@ -29,7 +29,7 @@ variable "default_user_email" { data "coder_parameter" "user_email" { name = "user_email" type = "string" - default = "" + default = var.default_user_email description = "Email to store in git-config for this workspace. Leave empty to populate with workspace owner email." display_name = "Git config user.email" mutable = false @@ -38,7 +38,7 @@ data "coder_parameter" "user_email" { data "coder_parameter" "username" { name = "username" type = "string" - default = "" + default = var.default_username description = "Username to store in git-config for this workspace. Leave empty to populate with workspace owner name." display_name = "Git config user.name" mutable = false