diff --git a/examples/templates/aws-ecs-container/main.tf b/examples/templates/aws-ecs-container/main.tf index dc563a500d..f07c0925ec 100644 --- a/examples/templates/aws-ecs-container/main.tf +++ b/examples/templates/aws-ecs-container/main.tf @@ -110,7 +110,6 @@ resource "coder_agent" "coder" { auth = "token" os = "linux" dir = "/home/coder" - login_before_ready = false startup_script_timeout = 180 startup_script = <<-EOT set -e diff --git a/examples/templates/aws-linux/main.tf b/examples/templates/aws-linux/main.tf index 1913786b8f..96d9136dfe 100644 --- a/examples/templates/aws-linux/main.tf +++ b/examples/templates/aws-linux/main.tf @@ -162,7 +162,6 @@ resource "coder_agent" "main" { arch = "amd64" auth = "aws-instance-identity" os = "linux" - login_before_ready = false startup_script_timeout = 180 startup_script = <<-EOT set -e diff --git a/examples/templates/aws-windows/main.tf b/examples/templates/aws-windows/main.tf index de9ffe5934..215aaff56f 100644 --- a/examples/templates/aws-windows/main.tf +++ b/examples/templates/aws-windows/main.tf @@ -156,10 +156,9 @@ data "aws_ami" "windows" { } resource "coder_agent" "main" { - arch = "amd64" - auth = "aws-instance-identity" - os = "windows" - login_before_ready = false + arch = "amd64" + auth = "aws-instance-identity" + os = "windows" } locals { diff --git a/examples/templates/azure-linux/main.tf b/examples/templates/azure-linux/main.tf index 303db69c51..ccb934a8b6 100644 --- a/examples/templates/azure-linux/main.tf +++ b/examples/templates/azure-linux/main.tf @@ -225,10 +225,9 @@ data "coder_workspace" "me" { } resource "coder_agent" "main" { - arch = "amd64" - os = "linux" - auth = "azure-instance-identity" - login_before_ready = false + arch = "amd64" + os = "linux" + auth = "azure-instance-identity" metadata { key = "cpu" diff --git a/examples/templates/do-linux/main.tf b/examples/templates/do-linux/main.tf index 8f753a6dd9..798e5ca106 100644 --- a/examples/templates/do-linux/main.tf +++ b/examples/templates/do-linux/main.tf @@ -245,8 +245,6 @@ resource "coder_agent" "main" { os = "linux" arch = "amd64" - login_before_ready = false - metadata { key = "cpu" display_name = "CPU Usage" diff --git a/examples/templates/docker-with-dotfiles/main.tf b/examples/templates/docker-with-dotfiles/main.tf index a5a2609c71..f5b2b92747 100644 --- a/examples/templates/docker-with-dotfiles/main.tf +++ b/examples/templates/docker-with-dotfiles/main.tf @@ -53,7 +53,6 @@ data "coder_parameter" "dotfiles_uri" { resource "coder_agent" "main" { arch = data.coder_provisioner.me.arch os = "linux" - login_before_ready = false startup_script_timeout = 180 env = { "DOTFILES_URI" = data.coder_parameter.dotfiles_uri.value != "" ? data.coder_parameter.dotfiles_uri.value : null } startup_script = <<-EOT diff --git a/examples/templates/docker/main.tf b/examples/templates/docker/main.tf index eac4154b4f..ed7b51d2d8 100644 --- a/examples/templates/docker/main.tf +++ b/examples/templates/docker/main.tf @@ -27,7 +27,6 @@ data "coder_workspace" "me" { resource "coder_agent" "main" { arch = data.coder_provisioner.me.arch os = "linux" - login_before_ready = false startup_script_timeout = 180 startup_script = <<-EOT set -e diff --git a/examples/templates/fly-docker-image/main.tf b/examples/templates/fly-docker-image/main.tf index 294d9d264c..99c0952e45 100644 --- a/examples/templates/fly-docker-image/main.tf +++ b/examples/templates/fly-docker-image/main.tf @@ -277,7 +277,6 @@ resource "coder_app" "code-server" { resource "coder_agent" "main" { arch = data.coder_provisioner.me.arch os = "linux" - login_before_ready = false startup_script_timeout = 180 startup_script = <<-EOT set -e diff --git a/examples/templates/gcp-linux/main.tf b/examples/templates/gcp-linux/main.tf index 483b31440b..a6d6f86eb0 100644 --- a/examples/templates/gcp-linux/main.tf +++ b/examples/templates/gcp-linux/main.tf @@ -79,7 +79,6 @@ resource "coder_agent" "main" { auth = "google-instance-identity" arch = "amd64" os = "linux" - login_before_ready = false startup_script_timeout = 180 startup_script = <<-EOT set -e diff --git a/examples/templates/gcp-vm-container/main.tf b/examples/templates/gcp-vm-container/main.tf index 339fae00b1..5a9fc311d9 100644 --- a/examples/templates/gcp-vm-container/main.tf +++ b/examples/templates/gcp-vm-container/main.tf @@ -70,7 +70,6 @@ resource "coder_agent" "main" { arch = "amd64" os = "linux" - login_before_ready = false startup_script_timeout = 180 startup_script = <<-EOT set -e diff --git a/examples/templates/gcp-windows/main.tf b/examples/templates/gcp-windows/main.tf index c7ef3e175c..ca7c4ff5f7 100644 --- a/examples/templates/gcp-windows/main.tf +++ b/examples/templates/gcp-windows/main.tf @@ -80,7 +80,6 @@ resource "coder_agent" "main" { arch = "amd64" os = "windows" - login_before_ready = false } resource "google_compute_instance" "dev" { diff --git a/examples/templates/kubernetes/main.tf b/examples/templates/kubernetes/main.tf index 6f12ee9e31..4995913d76 100644 --- a/examples/templates/kubernetes/main.tf +++ b/examples/templates/kubernetes/main.tf @@ -108,7 +108,6 @@ data "coder_workspace" "me" {} resource "coder_agent" "main" { os = "linux" arch = "amd64" - login_before_ready = false startup_script_timeout = 180 startup_script = <<-EOT set -e