We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09905c3 commit 56f5990Copy full SHA for 56f5990
registry/mavrickrishi/modules/nexus/main.tf
@@ -80,7 +80,7 @@ data "coder_workspace_owner" "me" {}
80
81
locals {
82
username = coalesce(var.nexus_username, var.username_field == "email" ? data.coder_workspace_owner.me.email : data.coder_workspace_owner.me.name)
83
- nexus_host = regex("^https?://([^:/]+)", var.nexus_url)
+ nexus_host = regex("^https?://([^:/]+)", var.nexus_url)[1]
84
}
85
86
0 commit comments