From b4baf4047537d1b0d1d4d4aa375d8cccf375c2b3 Mon Sep 17 00:00:00 2001 From: Stephen Kirby Date: Wed, 27 Sep 2023 21:34:41 +0000 Subject: [PATCH] added placeholders to build template --- git-config/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git-config/main.tf b/git-config/main.tf index 1bbdd7b..ba67d23 100644 --- a/git-config/main.tf +++ b/git-config/main.tf @@ -36,13 +36,13 @@ variable "allow_email_change" { # description = "Default source to use for git-config user.email." # } -# data "coder_workspace" "me" {} +data "coder_workspace" "me" {} data "coder_parameter" "user_email" { count = var.allow_email_change ? 1 : 0 name = "user_email" type = "string" - default = var.default_email_source + default = "NONE" #var.default_email_source description = "Git user.email to be used for commits" display_name = "Git config user.email" mutable = true @@ -52,7 +52,7 @@ data "coder_parameter" "username" { count = var.allow_username_change ? 1 : 0 name = "username" type = "string" - default = var.default_email_source + default = "NONE" #var.default_username_source description = "Git user.name to be used for commits" display_name = "Git config user.name" mutable = true