Skip to content
Prev Previous commit
Next Next commit
Fix format
  • Loading branch information
BrunoQuaresma committed Feb 9, 2024
commit 63bd718970b0d627d64a020488f731d2486964cc
7 changes: 4 additions & 3 deletions examples/templates/scratch/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ data "coder_provisioner" "me" {}
data "coder_workspace" "me" {}

resource "coder_agent" "main" {
arch = data.coder_provisioner.me.arch
os = data.coder_provisioner.me.os
startup_script = <<-EOT
arch = data.coder_provisioner.me.arch
os = data.coder_provisioner.me.os
startup_script = <<-EOT
set -e
# Run programs at workspace startup
EOT
Expand Down Expand Up @@ -41,6 +41,7 @@ resource "coder_env" "welcome_message" {
agent_id = coder_agent.main.id
name = "WELCOME_MESSAGE"
value = "Welcome to your Coder workspace!"
}

# Adds code-server
# See all available modules at https://registry.coder.com
Expand Down