From a9c492a8b3a2f9b74419dfb7fd3c9e873bc46328 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Wed, 8 Nov 2023 11:44:57 -0800 Subject: [PATCH] Move MHSM to region with more availability (#5122) * Move MHSM to region with more availability Resolves #4613 * Trigger CI re-run * Undo the trigger --------- Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> --- sdk/keyvault/test-resources.json | 52 +++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/sdk/keyvault/test-resources.json b/sdk/keyvault/test-resources.json index acb70c5e3..76c40a646 100644 --- a/sdk/keyvault/test-resources.json +++ b/sdk/keyvault/test-resources.json @@ -56,6 +56,56 @@ "description": "The location of the resource. By default, this is the same as the resource group." } }, + "hsmLocation": { + "type": "string", + "defaultValue": "brazilsouth", + "allowedValues": [ + "australiacentral", + "australiacentral2", + "australiaeast", + "brazilsouth", + "brazilsoutheast", + "canadacentral", + "canadaeast", + "centralindia", + "centralus", + "eastasia", + "eastus", + "eastus2", + "eastus2euap", + "francecentral", + "germanywestcentral", + "israelcentral", + "italynorth", + "japaneast", + "japanwest", + "koreacentral", + "northcentralus", + "northeurope", + "norwayeast", + "norwaywest", + "polandcentral", + "qatarcentral", + "southafricanorth", + "southcentralus", + "southindia", + "southeastasia", + "swedencentral", + "switzerlandnorth", + "switzerlandwest", + "uaenorth", + "uksouth", + "westcentralus", + "westeurope", + "westindia", + "westus", + "westus2", + "westus3" + ], + "metadata": { + "description": "The location of the Managed HSM. By default, this is 'brazilsouth'." + } + }, "enableSoftDelete": { "defaultValue": true, "type": "Bool", @@ -225,7 +275,7 @@ "type": "Microsoft.KeyVault/managedHSMs", "apiVersion": "[variables('hsmApiVersion')]", "name": "[variables('hsmName')]", - "location": "[parameters('location')]", + "location": "[parameters('hsmLocation')]", "sku": { "family": "B", "name": "Standard_B1"