fix: update tags and fix module bugs, rewrite vscode-server (#42)
This commit is contained in:
committed by
GitHub
parent
f066d5422d
commit
d3d9a9f135
@@ -1,10 +1,10 @@
|
||||
---
|
||||
display_name: GCP Regions
|
||||
display_name: GCP Region
|
||||
description: Add Google Cloud Platform regions to your Coder template.
|
||||
icon: ../.icons/gcp.svg
|
||||
maintainer_github: coder
|
||||
verified: true
|
||||
tags: [gcp, regions, zones, helper]
|
||||
tags: [gcp, regions, parameter, helper]
|
||||
---
|
||||
# Google Cloud Platform Regions
|
||||
|
||||
@@ -17,8 +17,8 @@ This module adds Google Cloud Platform regions to your Coder template.
|
||||
1. Add only GPU zones in the US West 1 region:
|
||||
|
||||
```hcl
|
||||
module "gcp_regions" {
|
||||
source = "git::https://github.com/coder/modules.git//gcp-region?branch=gcp-region"
|
||||
module "gcp_region" {
|
||||
source = "https://registry.coder.com/modules/gcp-region"
|
||||
default = ["us-west1-a"]
|
||||
regions = ["us-west1"]
|
||||
gpu_only = false
|
||||
@@ -28,8 +28,8 @@ This module adds Google Cloud Platform regions to your Coder template.
|
||||
2. Add all zones in the Europe West region:
|
||||
|
||||
```hcl
|
||||
module "regions" {
|
||||
source = "https://registry.coder.com/modules/gcp-regions"
|
||||
module "gcp_region" {
|
||||
source = "https://registry.coder.com/modules/gcp-region"
|
||||
regions = ["europe-west"]
|
||||
single_zone_per_region = false
|
||||
}
|
||||
@@ -38,8 +38,8 @@ This module adds Google Cloud Platform regions to your Coder template.
|
||||
3. Add a single zone from each region in US and Europe that laos has GPUs
|
||||
|
||||
```hcl
|
||||
module "regions" {
|
||||
source = "https://registry.coder.com/modules/gcp-regions"
|
||||
module "gcp_region" {
|
||||
source = "https://registry.coder.com/modules/gcp-region"
|
||||
regions = ["us", "europe"]
|
||||
gpu_only = true
|
||||
single_zone_per_region = true
|
||||
|
||||
Reference in New Issue
Block a user