From ea4318f0ed647682db8c6baa1d43a67ee251debf Mon Sep 17 00:00:00 2001 From: Roger Chao Date: Thu, 26 Sep 2024 18:07:06 -0700 Subject: [PATCH] Update process-logging.md Updated to use the datasource to use data.coder_workspace_owners for user labels to avoid deprecation warning messages. --- docs/templates/process-logging.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/templates/process-logging.md b/docs/templates/process-logging.md index 42577541bfa65..ef048be9b9a07 100644 --- a/docs/templates/process-logging.md +++ b/docs/templates/process-logging.md @@ -191,9 +191,9 @@ would like to add workspace process logging to, follow these steps: "--init-address", "127.0.0.1:56123", "--label", "workspace_id=${data.coder_workspace.me.id}", "--label", "workspace_name=${data.coder_workspace.me.name}", - "--label", "user_id=${data.coder_workspace.me.owner_id}", - "--label", "username=${data.coder_workspace.me.owner}", - "--label", "user_email=${data.coder_workspace.me.owner_email}", + "--label", "user_id=${data.coder_workspace_owner.me.id}", + "--label", "username=${data.coder_workspace_owner.me.name}", + "--label", "user_email=${data.coder_workspace_owner.me.email}", ] security_context { // exectrace must be started as root so it can attach probes into the