Skip to content

Commit

Permalink
[KeyVault] Small cleanup on the tests-resources (Azure#6212)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant committed Nov 19, 2019
1 parent ccd0527 commit 2e083dc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-integration.yml
Expand Up @@ -69,7 +69,7 @@ jobs:
az group create --name $resourceGroupName --location $env:PROVISIONER_RG_LOCATION --tags DeleteAfter=$resourceGroupExpiration
az group wait --created --resource-group $resourceGroupName
az group deployment create --resource-group $resourceGroupName --template-file ${{ parameters.ResourceFileLocation }} --parameters unique_id=$uniqueIdentifier location="$env:PROVISIONER_RG_LOCATION" tenant_id="$env:PROVISIONER_AAD_TENANT" test_app_id="$env:TEST_APP_ID"
az group deployment create --resource-group $resourceGroupName --template-file ${{ parameters.ResourceFileLocation }} --parameters unique_id=$uniqueIdentifier tenant_id="$env:PROVISIONER_AAD_TENANT" test_app_id="$env:TEST_APP_ID"
env:
PROVISIONER_AAD_ID: $(provisioner-aad-id)
Expand Down
9 changes: 4 additions & 5 deletions sdk/keyvault/keyvault-certificates/tests-resources.json
Expand Up @@ -5,23 +5,22 @@
"unique_id": {
"type": "String"
},
"location": {
"type": "String"
},
"tenant_id": {
"type": "String"
},
"test_app_id": {
"type": "String"
}
},
"variables": {},
"variables": {
"location": "[resourceGroup().location]"
},
"resources": [
{
"type": "Microsoft.KeyVault/vaults",
"apiVersion": "2016-10-01",
"name": "[parameters('unique_id')]",
"location": "[parameters('location')]",
"location": "[variables('location')]",
"properties": {
"sku": {
"family": "A",
Expand Down
9 changes: 4 additions & 5 deletions sdk/keyvault/keyvault-keys/tests-resources.json
Expand Up @@ -5,23 +5,22 @@
"unique_id": {
"type": "String"
},
"location": {
"type": "String"
},
"tenant_id": {
"type": "String"
},
"test_app_id": {
"type": "String"
}
},
"variables": {},
"variables": {
"location": "[resourceGroup().location]"
},
"resources": [
{
"type": "Microsoft.KeyVault/vaults",
"apiVersion": "2016-10-01",
"name": "[parameters('unique_id')]",
"location": "[parameters('location')]",
"location": "[variables('location')]",
"properties": {
"sku": {
"family": "A",
Expand Down
9 changes: 4 additions & 5 deletions sdk/keyvault/keyvault-secrets/tests-resources.json
Expand Up @@ -5,23 +5,22 @@
"unique_id": {
"type": "String"
},
"location": {
"type": "String"
},
"tenant_id": {
"type": "String"
},
"test_app_id": {
"type": "String"
}
},
"variables": {},
"variables": {
"location": "[resourceGroup().location]"
},
"resources": [
{
"type": "Microsoft.KeyVault/vaults",
"apiVersion": "2016-10-01",
"name": "[parameters('unique_id')]",
"location": "[parameters('location')]",
"location": "[variables('location')]",
"properties": {
"sku": {
"family": "A",
Expand Down

0 comments on commit 2e083dc

Please sign in to comment.