You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
modules/gcp-region/README.md

1.2 KiB

display_name description icon maintainer_github verified tags
GCP Region Add Google Cloud Platform regions to your Coder template. ../.icons/gcp.svg coder true
gcp
regions
parameter
helper

Google Cloud Platform Regions

This module adds Google Cloud Platform regions to your Coder template.

module "gcp_region" {
  source  = "https://registry.coder.com/modules/gcp-region"
  regions = ["us", "europe"]
}

GCP Regions

Examples

Add only GPU zones in the US West 1 region

module "gcp_region" {
    source   = "https://registry.coder.com/modules/gcp-region"
    default  = ["us-west1-a"]
    regions  = ["us-west1"]
    gpu_only = false
}

Add all zones in the Europe West region

module "gcp_region" {
  source                 = "https://registry.coder.com/modules/gcp-region"
  regions                = ["europe-west"]
  single_zone_per_region = false
}

Add a single zone from each region in US and Europe that laos has GPUs

module "gcp_region" {
  source                 = "https://registry.coder.com/modules/gcp-region"
  regions                = ["us", "europe"]
  gpu_only               = true
  single_zone_per_region = true
}