Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 9745 (#24054)
Browse files Browse the repository at this point in the history
* Pass arm template parameter for TME context

* Use supportsSafeSecretStandard parameter instead

---------

Co-authored-by: Ben Broderick Phillips <[email protected]>
  • Loading branch information
azure-sdk and benbp authored Feb 4, 2025
1 parent d6bd6b7 commit 352c446
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eng/common/TestResources/New-TestResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,8 @@ try {
if ($CI -and $Environment -eq 'AzureCloud' -and $env:PoolSubnet) {
$templateParameters.Add('azsdkPipelineSubnetList', @($env:PoolSubnet))
}
# Some arm/bicep templates may want to change deployment settings (e.g. local auth) in sandboxed TME tenants
$templateParameters.Add('supportsSafeSecretStandard', ($context.Tenant.Name -like '*TME*'))

$defaultCloudParameters = LoadCloudConfig $Environment
MergeHashes $defaultCloudParameters $(Get-Variable templateParameters)
Expand Down

0 comments on commit 352c446

Please sign in to comment.