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:
Cian Johnston
2022-07-26 14:09:09 +01:00
committed by GitHub
parent 9a9912c8ce
commit 2c0d57e8c0
14 changed files with 30 additions and 27 deletions

View File

@ -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
}