From cabb43d5d887d8179b249dc9db4dde8790667d4e Mon Sep 17 00:00:00 2001 From: Eric Paulsen Date: Mon, 29 Aug 2022 17:52:49 -0500 Subject: [PATCH 1/2] update: google provider to latest --- examples/templates/gcp-linux/main.tf | 24 ++++++++++++++++----- examples/templates/gcp-vm-container/main.tf | 4 ++-- examples/templates/gcp-windows/main.tf | 2 +- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/examples/templates/gcp-linux/main.tf b/examples/templates/gcp-linux/main.tf index 465441c43d2c4..d01fd0ca42124 100644 --- a/examples/templates/gcp-linux/main.tf +++ b/examples/templates/gcp-linux/main.tf @@ -6,7 +6,7 @@ terraform { } google = { source = "hashicorp/google" - version = "~> 4.15" + version = "~> 4.34.0" } } } @@ -39,16 +39,30 @@ resource "google_compute_disk" "root" { name = "coder-${lower(data.coder_workspace.me.owner)}-${lower(data.coder_workspace.me.name)}-root" type = "pd-ssd" zone = var.zone - image = "debian-cloud/debian-10" + image = "debian-cloud/debian-11" lifecycle { ignore_changes = [image] } } resource "coder_agent" "main" { - auth = "google-instance-identity" - arch = "amd64" - os = "linux" + auth = "google-instance-identity" + arch = "amd64" + os = "linux" + startup_script = < Date: Mon, 29 Aug 2022 18:57:07 -0500 Subject: [PATCH 2/2] rm: code-server --- examples/templates/gcp-linux/main.tf | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/examples/templates/gcp-linux/main.tf b/examples/templates/gcp-linux/main.tf index d01fd0ca42124..c177d673ffb10 100644 --- a/examples/templates/gcp-linux/main.tf +++ b/examples/templates/gcp-linux/main.tf @@ -49,20 +49,6 @@ resource "coder_agent" "main" { auth = "google-instance-identity" arch = "amd64" os = "linux" - startup_script = <