update: google provider to latest (#3743)

* update: google provider to latest

* rm: code-server
This commit is contained in:
Eric Paulsen
2022-08-29 19:12:26 -05:00
committed by GitHub
parent cc346afce6
commit c4a9be9c41
3 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -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" {
+2 -2
View File
@@ -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 = {
+1 -1
View File
@@ -6,7 +6,7 @@ terraform {
}
google = {
source = "hashicorp/google"
version = "~> 4.15"
version = "~> 4.34.0"
}
}
}