Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 28d764d

Browse files
committedJul 3, 2024·
remove example
1 parent f4a4746 commit 28d764d

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed
 

‎examples/data-sources/coder_workspace/data-source.tf

-6
This file was deleted.

‎examples/data-sources/coder_workspace_owner/data-source.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ data "coder_workspace_owner" "me" {}
77
resource "coder_agent" "dev" {
88
arch = "amd64"
99
os = "linux"
10-
dir = local.repo_dir
10+
dir = "/workspace"
1111
env = {
1212
OIDC_TOKEN : data.coder_workspace_owner.me.oidc_access_token,
1313
}
@@ -21,7 +21,7 @@ resource "coder_env" "git_author_name" {
2121
}
2222

2323
resource "coder_env" "git_author_email" {
24-
agent_id = var.agent_id
24+
agent_id = coder_agent.dev.id
2525
name = "GIT_AUTHOR_EMAIL"
2626
value = data.coder_workspace_owner.me.email
2727
count = data.coder_workspace_owner.me.email != "" ? 1 : 0

0 commit comments

Comments
 (0)
Please sign in to comment.