Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/templates/aws-ecs-container/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion examples/templates/aws-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions examples/templates/aws-windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 3 additions & 4 deletions examples/templates/azure-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions examples/templates/do-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ resource "coder_agent" "main" {
os = "linux"
arch = "amd64"

login_before_ready = false

metadata {
key = "cpu"
display_name = "CPU Usage"
Expand Down
1 change: 0 additions & 1 deletion examples/templates/docker-with-dotfiles/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion examples/templates/docker/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion examples/templates/fly-docker-image/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion examples/templates/gcp-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion examples/templates/gcp-vm-container/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion examples/templates/gcp-windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ resource "coder_agent" "main" {
arch = "amd64"
os = "windows"

login_before_ready = false
}

resource "google_compute_instance" "dev" {
Expand Down
1 change: 0 additions & 1 deletion examples/templates/kubernetes/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down