We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8ff74d commit f143255Copy full SHA for f143255
dogfood/main.tf
@@ -2,7 +2,7 @@ terraform {
2
required_providers {
3
coder = {
4
source = "coder/coder"
5
- version = "0.6.0"
+ version = "0.6.9"
6
}
7
docker = {
8
source = "kreuzwerker/docker"
@@ -58,9 +58,12 @@ provider "coder" {}
58
data "coder_workspace" "me" {}
59
60
resource "coder_agent" "dev" {
61
- arch = "amd64"
62
- os = "linux"
63
- startup_script = <<EOF
+ arch = "amd64"
+ os = "linux"
+
64
+ delay_login_until_ready = true
65
+ startup_script_timeout = 60
66
+ startup_script = <<-EOT
67
#!/bin/sh
68
set -x
69
# install and start code-server
@@ -77,7 +80,7 @@ resource "coder_agent" "dev" {
77
80
elif [ -f ~/personalize ]; then
78
81
echo "~/personalize is not executable, skipping..." | tee -a ~/.personalize.log
79
82
fi
- EOF
83
+ EOT
84
85
86
resource "coder_app" "code-server" {
0 commit comments