fixed last naming mistake

pull/47/head
Stephen Kirby 2 years ago
parent eb64f0f438
commit 17b3d7667d

@ -51,8 +51,8 @@ data "coder_parameter" "username" {
resource "coder_script" "git_config" {
agent_id = var.agent_id
script = templatefile("${path.module}/run.sh", {
GIT_USERNAME = try(data.coder_parameter.username[0].value, data.coder_workspace.me.owner)
GIT_EMAIL = try(data.coder_parameter.user_email[0].value, data.coder_workspace.me.owner_email)
GIT_USERNAME = try(data.coder_parameter.username[0].value, data.coder_workspace.git_config.owner)
GIT_EMAIL = try(data.coder_parameter.user_email[0].value, data.coder_workspace.git_config.owner_email)
})
display_name = "Git Config"
icon = "/icon/git.svg"

Loading…
Cancel
Save