From 8c5dec33be89863c0e6aa37b69af45542b27fc88 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 21 Jun 2022 06:41:39 -0700 Subject: [PATCH] Use westus as default region in test resource deployments (#3759) Co-authored-by: Ben Broderick Phillips --- eng/common/TestResources/New-TestResources.ps1 | 4 ++-- eng/common/TestResources/New-TestResources.ps1.md | 2 +- eng/common/TestResources/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eng/common/TestResources/New-TestResources.ps1 b/eng/common/TestResources/New-TestResources.ps1 index da01e8375..25d8060cc 100644 --- a/eng/common/TestResources/New-TestResources.ps1 +++ b/eng/common/TestResources/New-TestResources.ps1 @@ -401,7 +401,7 @@ try { # string. if (!$Location) { $Location = @{ - 'AzureCloud' = 'westus2'; + 'AzureCloud' = 'westus'; 'AzureUSGovernment' = 'usgovvirginia'; 'AzureChinaCloud' = 'chinaeast2'; 'Dogfood' = 'westus' @@ -907,7 +907,7 @@ This is used for CI automation. Optional location where resources should be created. If left empty, the default is based on the cloud to which the template is being deployed: -* AzureCloud -> 'westus2' +* AzureCloud -> 'westus' * AzureUSGovernment -> 'usgovvirginia' * AzureChinaCloud -> 'chinaeast2' * Dogfood -> 'westus' diff --git a/eng/common/TestResources/New-TestResources.ps1.md b/eng/common/TestResources/New-TestResources.ps1.md index 2ccf6ca4a..a18e2e5b8 100644 --- a/eng/common/TestResources/New-TestResources.ps1.md +++ b/eng/common/TestResources/New-TestResources.ps1.md @@ -422,7 +422,7 @@ Optional location where resources should be created. If left empty, the default is based on the cloud to which the template is being deployed: -* AzureCloud -\> 'westus2' +* AzureCloud -\> 'westus' * AzureUSGovernment -\> 'usgovvirginia' * AzureChinaCloud -\> 'chinaeast2' * Dogfood -\> 'westus' diff --git a/eng/common/TestResources/README.md b/eng/common/TestResources/README.md index 957a1f9c3..757c7c337 100644 --- a/eng/common/TestResources/README.md +++ b/eng/common/TestResources/README.md @@ -49,7 +49,7 @@ ${env:KEYVAULT_CLIENT_ID} = '<>' ${env:KEYVAULT_CLIENT_SECRET} = '<>' ${env:KEYVAULT_SUBSCRIPTION_ID} = 'YOUR SUBSCRIPTION ID' ${env:KEYVAULT_RESOURCE_GROUP} = 'rg-myusername' -${env:KEYVAULT_LOCATION} = 'westus2' +${env:KEYVAULT_LOCATION} = 'westus' ${env:KEYVAULT_SKU} = 'premium' ${env:AZURE_KEYVAULT_URL} = '<>' ```