google-cloud-powershell
google-cloud-powershell copied to clipboard
New-GcsBucket -Location only permits multi region continent not specific regions
https://github.com/GoogleCloudPlatform/google-cloud-powershell/blob/b0549f98b2a150830ff6ddf10c66c3252df7626d/Google.PowerShell/Storage/GcsBucket.cs#L162
The New-GcsBucket -Location
parameter accepts only "ASIA", "EU", "US" as valid location values. This seems incorrect and individual regions should be valid locations, it is possible to deploy a GCS Bucket in a single region.
This example demonstrates those option via the GCP Web UI:
This documentation lists the location options that should be valid:
https://cloud.google.com/storage/docs/locations
This documentation demonstrates those additional location options being available in the gsutil mb
(make bucket) command:
https://cloud.google.com/storage/docs/gsutil/commands/mb