Skip to content

Commit 54ff7e8

Browse files
committedJan 16, 2024
fix: coder_agent indices
1 parent e75cbf5 commit 54ff7e8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎.github/workflows/azure-windows-ad-auth.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main
77
paths:
88
- "templates/azure-windows-ad-auth/main.tf"
9+
- "templates/azure-windows-ad-auth/Initialize.ps1.tftpl"
10+
- "templates/azure-windows-ad-auth/FirstLogonCommands.xml"
911
- ".github/workflows/azure-windows-ad-auth.yml"
1012
workflow_dispatch:
1113

‎templates/azure-windows-ad-auth/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "coder_agent" "main" {
5858
}
5959

6060
resource "coder_app" "code-server" {
61-
agent_id = coder_agent.main.id
61+
agent_id = coder_agent.main[0].id
6262
slug = "vs-code-server"
6363
display_name = "vs-code-server"
6464
url = "http://localhost:8000"

0 commit comments

Comments
 (0)
Please sign in to comment.