changed default flow

pull/47/head
Stephen Kirby 2 years ago
parent a1c4175895
commit 39d8b3b95d

@ -29,7 +29,7 @@ variable "default_user_email" {
data "coder_parameter" "user_email" { data "coder_parameter" "user_email" {
name = "user_email" name = "user_email"
type = "string" 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." description = "Email to store in git-config for this workspace. Leave empty to populate with workspace owner email."
display_name = "Git config user.email" display_name = "Git config user.email"
mutable = false mutable = false
@ -38,7 +38,7 @@ data "coder_parameter" "user_email" {
data "coder_parameter" "username" { data "coder_parameter" "username" {
name = "username" name = "username"
type = "string" 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." description = "Username to store in git-config for this workspace. Leave empty to populate with workspace owner name."
display_name = "Git config user.name" display_name = "Git config user.name"
mutable = false mutable = false

Loading…
Cancel
Save