chore: remove login_before_ready from example templates (#7322)

This commit is contained in:
Ben Potter
2023-04-28 14:59:50 +00:00
committed by GitHub
parent 88c362dfdc
commit 8d1f163cae
12 changed files with 6 additions and 19 deletions
@@ -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
-1
View File
@@ -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
+3 -4
View File
@@ -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 {
+3 -4
View File
@@ -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"
-2
View File
@@ -245,8 +245,6 @@ resource "coder_agent" "main" {
os = "linux"
arch = "amd64"
login_before_ready = false
metadata {
key = "cpu"
display_name = "CPU Usage"
@@ -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
-1
View File
@@ -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
@@ -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
-1
View File
@@ -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
@@ -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
-1
View File
@@ -80,7 +80,6 @@ resource "coder_agent" "main" {
arch = "amd64"
os = "windows"
login_before_ready = false
}
resource "google_compute_instance" "dev" {
-1
View File
@@ -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