From 5030fcb9887c82db58b4bd052b833feb621ddf0a Mon Sep 17 00:00:00 2001 From: Garrett Delfosse Date: Tue, 30 Apr 2024 16:59:20 +0000 Subject: [PATCH] add coder workspace me --- github-upload-public-key/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github-upload-public-key/main.tf b/github-upload-public-key/main.tf index e370357..cd22c1f 100644 --- a/github-upload-public-key/main.tf +++ b/github-upload-public-key/main.tf @@ -20,6 +20,8 @@ variable "external_auth_id" { default = "github" } +data "coder_workspace" "me" {} + resource "coder_script" "github_upload_public_key" { agent_id = var.agent_id script = templatefile("${path.module}/run.sh", {