add coder workspace me
This commit is contained in:
@@ -20,6 +20,8 @@ variable "external_auth_id" {
|
|||||||
default = "github"
|
default = "github"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
data "coder_workspace" "me" {}
|
||||||
|
|
||||||
resource "coder_script" "github_upload_public_key" {
|
resource "coder_script" "github_upload_public_key" {
|
||||||
agent_id = var.agent_id
|
agent_id = var.agent_id
|
||||||
script = templatefile("${path.module}/run.sh", {
|
script = templatefile("${path.module}/run.sh", {
|
||||||
|
|||||||
Reference in New Issue
Block a user