Skip to content

Commit 8d1f163

Browse files
authored
chore: remove login_before_ready from example templates (#7322)
1 parent 88c362d commit 8d1f163

File tree

12 files changed

+6
-19
lines changed

12 files changed

+6
-19
lines changed

examples/templates/aws-ecs-container/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ resource "coder_agent" "coder" {
110110
auth = "token"
111111
os = "linux"
112112
dir = "/home/coder"
113-
login_before_ready = false
114113
startup_script_timeout = 180
115114
startup_script = <<-EOT
116115
set -e

examples/templates/aws-linux/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ resource "coder_agent" "main" {
162162
arch = "amd64"
163163
auth = "aws-instance-identity"
164164
os = "linux"
165-
login_before_ready = false
166165
startup_script_timeout = 180
167166
startup_script = <<-EOT
168167
set -e

examples/templates/aws-windows/main.tf

+3-4
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,9 @@ data "aws_ami" "windows" {
156156
}
157157

158158
resource "coder_agent" "main" {
159-
arch = "amd64"
160-
auth = "aws-instance-identity"
161-
os = "windows"
162-
login_before_ready = false
159+
arch = "amd64"
160+
auth = "aws-instance-identity"
161+
os = "windows"
163162
}
164163

165164
locals {

examples/templates/azure-linux/main.tf

+3-4
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,9 @@ data "coder_workspace" "me" {
225225
}
226226

227227
resource "coder_agent" "main" {
228-
arch = "amd64"
229-
os = "linux"
230-
auth = "azure-instance-identity"
231-
login_before_ready = false
228+
arch = "amd64"
229+
os = "linux"
230+
auth = "azure-instance-identity"
232231

233232
metadata {
234233
key = "cpu"

examples/templates/do-linux/main.tf

-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ resource "coder_agent" "main" {
245245
os = "linux"
246246
arch = "amd64"
247247

248-
login_before_ready = false
249-
250248
metadata {
251249
key = "cpu"
252250
display_name = "CPU Usage"

examples/templates/docker-with-dotfiles/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ data "coder_parameter" "dotfiles_uri" {
5353
resource "coder_agent" "main" {
5454
arch = data.coder_provisioner.me.arch
5555
os = "linux"
56-
login_before_ready = false
5756
startup_script_timeout = 180
5857
env = { "DOTFILES_URI" = data.coder_parameter.dotfiles_uri.value != "" ? data.coder_parameter.dotfiles_uri.value : null }
5958
startup_script = <<-EOT

examples/templates/docker/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ data "coder_workspace" "me" {
2727
resource "coder_agent" "main" {
2828
arch = data.coder_provisioner.me.arch
2929
os = "linux"
30-
login_before_ready = false
3130
startup_script_timeout = 180
3231
startup_script = <<-EOT
3332
set -e

examples/templates/fly-docker-image/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ resource "coder_app" "code-server" {
277277
resource "coder_agent" "main" {
278278
arch = data.coder_provisioner.me.arch
279279
os = "linux"
280-
login_before_ready = false
281280
startup_script_timeout = 180
282281
startup_script = <<-EOT
283282
set -e

examples/templates/gcp-linux/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ resource "coder_agent" "main" {
7979
auth = "google-instance-identity"
8080
arch = "amd64"
8181
os = "linux"
82-
login_before_ready = false
8382
startup_script_timeout = 180
8483
startup_script = <<-EOT
8584
set -e

examples/templates/gcp-vm-container/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ resource "coder_agent" "main" {
7070
arch = "amd64"
7171
os = "linux"
7272

73-
login_before_ready = false
7473
startup_script_timeout = 180
7574
startup_script = <<-EOT
7675
set -e

examples/templates/gcp-windows/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ resource "coder_agent" "main" {
8080
arch = "amd64"
8181
os = "windows"
8282

83-
login_before_ready = false
8483
}
8584

8685
resource "google_compute_instance" "dev" {

examples/templates/kubernetes/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ data "coder_workspace" "me" {}
108108
resource "coder_agent" "main" {
109109
os = "linux"
110110
arch = "amd64"
111-
login_before_ready = false
112111
startup_script_timeout = 180
113112
startup_script = <<-EOT
114113
set -e

0 commit comments

Comments
 (0)