diff --git a/examples/templates/gcp-linux/main.tf b/examples/templates/gcp-linux/main.tf index 465441c43d2c4..c177d673ffb10 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,16 @@ 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" } resource "google_compute_instance" "dev" { diff --git a/examples/templates/gcp-vm-container/main.tf b/examples/templates/gcp-vm-container/main.tf index c186a8c09c7d4..dd737cd8c392e 100644 --- a/examples/templates/gcp-vm-container/main.tf +++ b/examples/templates/gcp-vm-container/main.tf @@ -6,7 +6,7 @@ terraform { } google = { source = "hashicorp/google" - version = "~> 4.15" + version = "~> 4.34.0" } } } @@ -46,7 +46,7 @@ module "gce-container" { version = "3.0.0" container = { - image = "mcr.microsoft.com/vscode/devcontainers/go:1" + image = "codercom/enterprise-base:ubuntu" command = ["sh"] args = ["-c", coder_agent.main.init_script] securityContext = { diff --git a/examples/templates/gcp-windows/main.tf b/examples/templates/gcp-windows/main.tf index 1850a86861f45..1421edc6f17ba 100644 --- a/examples/templates/gcp-windows/main.tf +++ b/examples/templates/gcp-windows/main.tf @@ -6,7 +6,7 @@ terraform { } google = { source = "hashicorp/google" - version = "~> 4.15" + version = "~> 4.34.0" } } }