Skip to content

Commit

Permalink
Adding failure case to ensure Azure#351 is fixed (Azure#557)
Browse files Browse the repository at this point in the history
* Adding failure case to ensure Azure#351 is fixed

* Fixing unknown api version in deployments (false negative)

Co-authored-by: James Brundage <@github.com>
  • Loading branch information
StartAutomating committed Jan 14, 2022
1 parent 15d0855 commit 7b737cb
Showing 1 changed file with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.4.1124.51302",
"templateHash": "12825026901412401447"
}
},
"parameters": {
"privatelinkDnsZoneName": {
"type": "string"
}
},
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-10-01",
"name": "dnsDeploy",
"properties": {
"expressionEvaluationOptions": {
"scope": "inner"
},
"mode": "Incremental",
"parameters": {
"privatelinkDnsZoneName": {
"value": "[parameters('privatelinkDnsZoneName')]"
}
},
"template": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.4.1124.51302",
"templateHash": "2116389511501495551"
}
},
"parameters": {
"privatelinkDnsZoneName": {
"type": "string"
}
},
"resources": [
{
"type": "Microsoft.Network/privateDnsZones",
"apiVersion": "2018-09-01",
"name": "[parameters('privatelinkDnsZoneName')]",
"location": "Global"
}
]
}
}
}
]
}

0 comments on commit 7b737cb

Please sign in to comment.