diff --git a/gcp-region/README.md b/gcp-region/README.md index 6746c81..292efc7 100644 --- a/gcp-region/README.md +++ b/gcp-region/README.md @@ -1,16 +1,23 @@ --- -display_name: Google Cloud Region -description: A parameter with human region names and icons +display_name: GCP Regions +description: Add Google Cloud Platform regions to your Coder template. icon: ../.icons/gcp.svg maintainer_github: coder verified: true -tags: [helper, parameter, azure] +tags: [gcp, regions, zones] --- +# Google Cloud Platform Regions -# Google Cloud Region +This module adds Google Cloud Platform regions to your Coder template. -A parameter with all Google Cloud regions. This allows developers to select the region closest to them. +## How to use this module -## Examples +To use this module, add the following snippet to your template manifest: -TODO \ No newline at end of file +```hcl +module "gcp_regions" { + source = "https://registry.coder.com/modules/gcp-regions" + gcp_regions = ["us-west1", "us-west2", "us-west3"] # Add your desired regions here, use ["all"] for all regions + gpu_only = true +} +``` diff --git a/gcp-regions/main.tf b/gcp-region/main.tf similarity index 100% rename from gcp-regions/main.tf rename to gcp-region/main.tf diff --git a/gcp-regions/update.sh b/gcp-region/update.sh similarity index 100% rename from gcp-regions/update.sh rename to gcp-region/update.sh diff --git a/gcp-regions/README.md b/gcp-regions/README.md deleted file mode 100644 index 292efc7..0000000 --- a/gcp-regions/README.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -display_name: GCP Regions -description: Add Google Cloud Platform regions to your Coder template. -icon: ../.icons/gcp.svg -maintainer_github: coder -verified: true -tags: [gcp, regions, zones] ---- -# Google Cloud Platform Regions - -This module adds Google Cloud Platform regions to your Coder template. - -## How to use this module - -To use this module, add the following snippet to your template manifest: - -```hcl -module "gcp_regions" { - source = "https://registry.coder.com/modules/gcp-regions" - gcp_regions = ["us-west1", "us-west2", "us-west3"] # Add your desired regions here, use ["all"] for all regions - gpu_only = true -} -```