mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
fix: update reference to agent.dev in examples and docs (#3198)
* fix: update agent ID in example templates * fix: update agent ID in dogfood template * chore: update default agent ID in documentation * fix: develop.sh: start FE after template is created; leave template dir around if template creation fails
This commit is contained in:
@ -48,7 +48,7 @@ module "gce-container" {
|
||||
container = {
|
||||
image = "mcr.microsoft.com/vscode/devcontainers/go:1"
|
||||
command = ["sh"]
|
||||
args = ["-c", coder_agent.dev.init_script]
|
||||
args = ["-c", coder_agent.main.init_script]
|
||||
securityContext = {
|
||||
privileged : true
|
||||
}
|
||||
@ -85,6 +85,6 @@ resource "google_compute_instance" "dev" {
|
||||
|
||||
resource "coder_agent_instance" "dev" {
|
||||
count = data.coder_workspace.me.start_count
|
||||
agent_id = coder_agent.dev.id
|
||||
agent_id = coder_agent.main.id
|
||||
instance_id = google_compute_instance.dev[0].instance_id
|
||||
}
|
||||
|
Reference in New Issue
Block a user