Skip to content

Commit 86fefb3

Browse files
azure-sdkbenbp
andauthored
Sync eng/common directory with azure-sdk-tools for PR 9745 (#44020)
* Pass arm template parameter for TME context * Use supportsSafeSecretStandard parameter instead --------- Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
1 parent 91682cb commit 86fefb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eng/common/TestResources/New-TestResources.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,8 @@ try {
527527
if ($CI -and $Environment -eq 'AzureCloud' -and $env:PoolSubnet) {
528528
$templateParameters.Add('azsdkPipelineSubnetList', @($env:PoolSubnet))
529529
}
530+
# Some arm/bicep templates may want to change deployment settings (e.g. local auth) in sandboxed TME tenants
531+
$templateParameters.Add('supportsSafeSecretStandard', ($context.Tenant.Name -like '*TME*'))
530532

531533
$defaultCloudParameters = LoadCloudConfig $Environment
532534
MergeHashes $defaultCloudParameters $(Get-Variable templateParameters)

0 commit comments

Comments
 (0)