From c4a9be9c410d6d0ec260009068e8f4ca4c81fbf3 Mon Sep 17 00:00:00 2001 From: Eric Paulsen Date: Mon, 29 Aug 2022 19:12:26 -0500 Subject: [PATCH] update: google provider to latest (#3743) * update: google provider to latest * rm: code-server --- examples/templates/gcp-linux/main.tf | 10 +++++----- examples/templates/gcp-vm-container/main.tf | 4 ++-- examples/templates/gcp-windows/main.tf | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/templates/gcp-linux/main.tf b/examples/templates/gcp-linux/main.tf index 465441c43d..c177d673ff 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 c186a8c09c..dd737cd8c3 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 1850a86861..1421edc6f1 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" } } }