Skip to content

Commit fa745eb

Browse files
authored
Sync eng/common directory with azure-sdk-tools for PR 1351 (#16448)
* tweaks to New-TestResources readme
1 parent c91bcda commit fa745eb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

eng/common/TestResources/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Connect-AzAccount -Subscription 'YOUR SUBSCRIPTION ID'
3030
eng\common\TestResources\New-TestResources.ps1 -ServiceDirectory 'search'
3131
```
3232

33-
The `OutFile` switch would be set if you are running this for a .NET project on Windows. This will save test environment settings
33+
The `OutFile` switch will be set by default if you are running this for a .NET project on Windows. This will save test environment settings
3434
into a test-resources.json.env file next to test-resources.json. The file is protected via DPAPI.
3535
The environment file would be scoped to the current repository directory and avoids the need to
3636
set environment variables or restart your IDE to recognize them.
@@ -89,6 +89,12 @@ Remove-AzADServicePrincipal -ApplicationId $sp.ApplicationId -Force
8989

9090
If you persisted environment variables, you should also remove those as well.
9191

92+
Some test-resources.json templates utilize the `AdditionalParameters` parameter to control additional resource configuration options. For example:
93+
94+
```powershell
95+
New-TestResources.ps1 keyvault -AdditionalParameters @{enableHsm = $true}
96+
```
97+
9298
## In CI
9399

94100
Test pipelines should include deploy-test-resources.yml and

0 commit comments

Comments
 (0)