mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
update: google provider to latest (#3743)
* update: google provider to latest * rm: code-server
This commit is contained in:
@@ -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" {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -6,7 +6,7 @@ terraform {
|
||||
}
|
||||
google = {
|
||||
source = "hashicorp/google"
|
||||
version = "~> 4.15"
|
||||
version = "~> 4.34.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user