Skip to content

Commit 56f5990

Browse files
MAVRICK-1Copilot
andauthored
Update registry/mavrickrishi/modules/nexus/main.tf
Co-authored-by: Copilot <[email protected]>
1 parent 09905c3 commit 56f5990

File tree

1 file changed

+1
-1
lines changed
  • registry/mavrickrishi/modules/nexus

1 file changed

+1
-1
lines changed

registry/mavrickrishi/modules/nexus/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ data "coder_workspace_owner" "me" {}
8080

8181
locals {
8282
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)
83+
nexus_host = regex("^https?://([^:/]+)", var.nexus_url)[1]
8484
}
8585

8686
locals {

0 commit comments

Comments
 (0)