We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 039028b commit 94da748Copy full SHA for 94da748
examples/templates/gcp-linux/main.tf
@@ -111,7 +111,8 @@ resource "coder_agent" "main" {
111
112
# code-server
113
resource "coder_app" "code-server" {
114
- agent_id = coder_agent.main.id
+ count = data.coder_workspace.me.start_count
115
+ agent_id = coder_agent.main[0].id
116
slug = "code-server"
117
display_name = "code-server"
118
icon = "/icon/code.svg"
examples/templates/gcp-vm-devcontainer/main.tf
@@ -120,7 +120,8 @@ resource "coder_agent" "dev" {
120
}
121
122
123
124
+ agent_id = coder_agent.dev[0].id
125
126
127
0 commit comments