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
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
2 years ago
..
README.md chore: update gcp regions and add screenshots (#37) 2 years ago
main.tf chore: update gcp regions and add screenshots (#37) 2 years ago

README.md

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
    }