Skip to content

Commit f8e77bc

Browse files
committed
fix: add default region
1 parent 41c1e94 commit f8e77bc

File tree

1 file changed

+6
-1
lines changed
  • examples/templates/gcp-linux

1 file changed

+6
-1
lines changed

examples/templates/gcp-linux/main.tf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ variable "project_id" {
1515
description = "Which Google Compute Project should your workspace live in?"
1616
}
1717

18+
# See https://registry.coder.com/modules/gcp-region
1819
module "gcp_region" {
1920
source = "registry.coder.com/modules/gcp-region/coder"
20-
version = "1.0.12"
21+
22+
# This ensures that the latest version of the module gets downloaded, you can also pin the module version to prevent breaking changes in production.
23+
version = ">= 1.0.0"
24+
2125
regions = ["us", "europe"]
26+
default = "us-central1-a"
2227
}
2328

2429
provider "google" {

0 commit comments

Comments
 (0)