Skip to content

Commit c4a9be9

Browse files
authored
update: google provider to latest (coder#3743)
* update: google provider to latest * rm: code-server
1 parent cc346af commit c4a9be9

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

examples/templates/gcp-linux/main.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
}
77
google = {
88
source = "hashicorp/google"
9-
version = "~> 4.15"
9+
version = "~> 4.34.0"
1010
}
1111
}
1212
}
@@ -39,16 +39,16 @@ resource "google_compute_disk" "root" {
3939
name = "coder-${lower(data.coder_workspace.me.owner)}-${lower(data.coder_workspace.me.name)}-root"
4040
type = "pd-ssd"
4141
zone = var.zone
42-
image = "debian-cloud/debian-10"
42+
image = "debian-cloud/debian-11"
4343
lifecycle {
4444
ignore_changes = [image]
4545
}
4646
}
4747

4848
resource "coder_agent" "main" {
49-
auth = "google-instance-identity"
50-
arch = "amd64"
51-
os = "linux"
49+
auth = "google-instance-identity"
50+
arch = "amd64"
51+
os = "linux"
5252
}
5353

5454
resource "google_compute_instance" "dev" {

examples/templates/gcp-vm-container/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
}
77
google = {
88
source = "hashicorp/google"
9-
version = "~> 4.15"
9+
version = "~> 4.34.0"
1010
}
1111
}
1212
}
@@ -46,7 +46,7 @@ module "gce-container" {
4646
version = "3.0.0"
4747

4848
container = {
49-
image = "mcr.microsoft.com/vscode/devcontainers/go:1"
49+
image = "codercom/enterprise-base:ubuntu"
5050
command = ["sh"]
5151
args = ["-c", coder_agent.main.init_script]
5252
securityContext = {

examples/templates/gcp-windows/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
}
77
google = {
88
source = "hashicorp/google"
9-
version = "~> 4.15"
9+
version = "~> 4.34.0"
1010
}
1111
}
1212
}

0 commit comments

Comments
 (0)