Files
modules/gcp-region
Muhammad Atif Ali 2e829b19a4 chore: update gcp regions and add screenshots (#37)
* chore: add default zone

* Update README.md

* handle case when default is not provided

* use single zone per name

* update README.md

* fix docs

* fixup!

* use truncation

* fix England flag

* fixup flag emoji

* add screenshot

* add AWS regions screenshot

* output both zone and region identifiers
2023-09-25 11:44:36 +03:00
..

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

Google Cloud Platform Regions

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

GCP Regions

Examples

  1. Add only GPU zones in the US West 1 region:

    module "gcp_regions" {
      source   = "git::https://github.com/coder/modules.git//gcp-region?branch=gcp-region"
      default  = ["us-west1-a"]
      regions  = ["us-west1"]
      gpu_only = false
    }
    
  2. Add all zones in the Europe West region:

    module "regions" {
      source                 = "https://registry.coder.com/modules/gcp-regions"
      regions                = ["europe-west"]
      single_zone_per_region = false
    }
    
  3. Add a single zone from each region in US and Europe that laos has GPUs

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