Skip to content

Commit

Permalink
fix: Private DNS Zone - Refreshed ARM JSON files (#3917)
Browse files Browse the repository at this point in the history
## Description

Refreshed ARM JSON files to pass static tests

## Pipeline Reference

<!-- Insert your Pipeline Status Badge below -->

| Pipeline |
| -------- |
|
[![avm.res.network.private-dns-zone](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.network.private-dns-zone.yml/badge.svg?branch=users%2Falsehr%2F20241211_dnsZoneFix&event=workflow_dispatch)](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.network.private-dns-zone.yml)
|

## Type of Change

<!-- Use the checkboxes [x] on the options that are relevant. -->

- [ ] Update to CI Environment or utilities (Non-module affecting
changes)
- [ ] Azure Verified Module updates:
- [x] Bugfix containing backwards-compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [ ] Someone has opened a bug report issue, and I have included "Closes
#{bug_report_issue_number}" in the PR description.
- [ ] The bug was found by the module author, and no one has opened an
issue to report it yet.
- [ ] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in
`version.json`.
  - [ ] Update to documentation
  • Loading branch information
AlexanderSehr authored Dec 11, 2024
1 parent 583e300 commit eb9065c
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 110 deletions.
9 changes: 3 additions & 6 deletions avm/res/network/private-dns-zone/a/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "10712926682811010094"
"version": "0.32.4.45862",
"templateHash": "2531120132215940282"
},
"name": "Private DNS Zone A record",
"description": "This module deploys a Private DNS Zone A record.",
Expand Down Expand Up @@ -161,10 +161,7 @@
"aRecords": "[parameters('aRecords')]",
"metadata": "[parameters('metadata')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"A_roleAssignments": {
"copy": {
Expand Down
9 changes: 3 additions & 6 deletions avm/res/network/private-dns-zone/aaaa/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "6038454003460884843"
"version": "0.32.4.45862",
"templateHash": "16709340450244912125"
},
"name": "Private DNS Zone AAAA record",
"description": "This module deploys a Private DNS Zone AAAA record.",
Expand Down Expand Up @@ -161,10 +161,7 @@
"aaaaRecords": "[parameters('aaaaRecords')]",
"metadata": "[parameters('metadata')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"AAAA_roleAssignments": {
"copy": {
Expand Down
9 changes: 3 additions & 6 deletions avm/res/network/private-dns-zone/cname/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "7441428857459323856"
"version": "0.32.4.45862",
"templateHash": "9976020649752073181"
},
"name": "Private DNS Zone CNAME record",
"description": "This module deploys a Private DNS Zone CNAME record.",
Expand Down Expand Up @@ -161,10 +161,7 @@
"cnameRecord": "[parameters('cnameRecord')]",
"metadata": "[parameters('metadata')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"CNAME_roleAssignments": {
"copy": {
Expand Down
85 changes: 29 additions & 56 deletions avm/res/network/private-dns-zone/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "13291748033241997493"
"version": "0.32.4.45862",
"templateHash": "3042103818368767967"
},
"name": "Private DNS Zones",
"description": "This module deploys a Private DNS zone.",
Expand Down Expand Up @@ -865,8 +865,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "10712926682811010094"
"version": "0.32.4.45862",
"templateHash": "2531120132215940282"
},
"name": "Private DNS Zone A record",
"description": "This module deploys a Private DNS Zone A record.",
Expand Down Expand Up @@ -1021,10 +1021,7 @@
"aRecords": "[parameters('aRecords')]",
"metadata": "[parameters('metadata')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"A_roleAssignments": {
"copy": {
Expand Down Expand Up @@ -1118,8 +1115,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "6038454003460884843"
"version": "0.32.4.45862",
"templateHash": "16709340450244912125"
},
"name": "Private DNS Zone AAAA record",
"description": "This module deploys a Private DNS Zone AAAA record.",
Expand Down Expand Up @@ -1274,10 +1271,7 @@
"aaaaRecords": "[parameters('aaaaRecords')]",
"metadata": "[parameters('metadata')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"AAAA_roleAssignments": {
"copy": {
Expand Down Expand Up @@ -1371,8 +1365,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "7441428857459323856"
"version": "0.32.4.45862",
"templateHash": "9976020649752073181"
},
"name": "Private DNS Zone CNAME record",
"description": "This module deploys a Private DNS Zone CNAME record.",
Expand Down Expand Up @@ -1527,10 +1521,7 @@
"cnameRecord": "[parameters('cnameRecord')]",
"metadata": "[parameters('metadata')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"CNAME_roleAssignments": {
"copy": {
Expand Down Expand Up @@ -1624,8 +1615,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "14644449511819726117"
"version": "0.32.4.45862",
"templateHash": "2520323624213076361"
},
"name": "Private DNS Zone MX record",
"description": "This module deploys a Private DNS Zone MX record.",
Expand Down Expand Up @@ -1780,10 +1771,7 @@
"metadata": "[parameters('metadata')]",
"mxRecords": "[parameters('mxRecords')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"MX_roleAssignments": {
"copy": {
Expand Down Expand Up @@ -1877,8 +1865,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "15207022836369022219"
"version": "0.32.4.45862",
"templateHash": "3080404733048745471"
},
"name": "Private DNS Zone PTR record",
"description": "This module deploys a Private DNS Zone PTR record.",
Expand Down Expand Up @@ -2033,10 +2021,7 @@
"metadata": "[parameters('metadata')]",
"ptrRecords": "[parameters('ptrRecords')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"PTR_roleAssignments": {
"copy": {
Expand Down Expand Up @@ -2130,8 +2115,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "11873116919556672567"
"version": "0.32.4.45862",
"templateHash": "6653951445614700931"
},
"name": "Private DNS Zone SOA record",
"description": "This module deploys a Private DNS Zone SOA record.",
Expand Down Expand Up @@ -2286,10 +2271,7 @@
"metadata": "[parameters('metadata')]",
"soaRecord": "[parameters('soaRecord')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"SOA_roleAssignments": {
"copy": {
Expand Down Expand Up @@ -2383,8 +2365,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "14191219094184072575"
"version": "0.32.4.45862",
"templateHash": "5790774778713328446"
},
"name": "Private DNS Zone SRV record",
"description": "This module deploys a Private DNS Zone SRV record.",
Expand Down Expand Up @@ -2539,10 +2521,7 @@
"metadata": "[parameters('metadata')]",
"srvRecords": "[parameters('srvRecords')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"SRV_roleAssignments": {
"copy": {
Expand Down Expand Up @@ -2636,8 +2615,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "4736447107597592476"
"version": "0.32.4.45862",
"templateHash": "1855369119498044639"
},
"name": "Private DNS Zone TXT record",
"description": "This module deploys a Private DNS Zone TXT record.",
Expand Down Expand Up @@ -2792,10 +2771,7 @@
"metadata": "[parameters('metadata')]",
"ttl": "[parameters('ttl')]",
"txtRecords": "[parameters('txtRecords')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"TXT_roleAssignments": {
"copy": {
Expand Down Expand Up @@ -2892,8 +2868,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "6409823868550472261"
"version": "0.32.4.45862",
"templateHash": "15326596012552051215"
},
"name": "Private DNS Zone Virtual Network Link",
"description": "This module deploys a Private DNS Zone Virtual Network Link.",
Expand Down Expand Up @@ -2967,10 +2943,7 @@
"id": "[parameters('virtualNetworkResourceId')]"
},
"resolutionPolicy": "[parameters('resolutionPolicy')]"
},
"dependsOn": [
"privateDnsZone"
]
}
}
},
"outputs": {
Expand Down
9 changes: 3 additions & 6 deletions avm/res/network/private-dns-zone/mx/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "14644449511819726117"
"version": "0.32.4.45862",
"templateHash": "2520323624213076361"
},
"name": "Private DNS Zone MX record",
"description": "This module deploys a Private DNS Zone MX record.",
Expand Down Expand Up @@ -161,10 +161,7 @@
"metadata": "[parameters('metadata')]",
"mxRecords": "[parameters('mxRecords')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"MX_roleAssignments": {
"copy": {
Expand Down
9 changes: 3 additions & 6 deletions avm/res/network/private-dns-zone/ptr/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "15207022836369022219"
"version": "0.32.4.45862",
"templateHash": "3080404733048745471"
},
"name": "Private DNS Zone PTR record",
"description": "This module deploys a Private DNS Zone PTR record.",
Expand Down Expand Up @@ -161,10 +161,7 @@
"metadata": "[parameters('metadata')]",
"ptrRecords": "[parameters('ptrRecords')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"PTR_roleAssignments": {
"copy": {
Expand Down
9 changes: 3 additions & 6 deletions avm/res/network/private-dns-zone/soa/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "11873116919556672567"
"version": "0.32.4.45862",
"templateHash": "6653951445614700931"
},
"name": "Private DNS Zone SOA record",
"description": "This module deploys a Private DNS Zone SOA record.",
Expand Down Expand Up @@ -161,10 +161,7 @@
"metadata": "[parameters('metadata')]",
"soaRecord": "[parameters('soaRecord')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"SOA_roleAssignments": {
"copy": {
Expand Down
9 changes: 3 additions & 6 deletions avm/res/network/private-dns-zone/srv/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.31.92.45157",
"templateHash": "14191219094184072575"
"version": "0.32.4.45862",
"templateHash": "5790774778713328446"
},
"name": "Private DNS Zone SRV record",
"description": "This module deploys a Private DNS Zone SRV record.",
Expand Down Expand Up @@ -161,10 +161,7 @@
"metadata": "[parameters('metadata')]",
"srvRecords": "[parameters('srvRecords')]",
"ttl": "[parameters('ttl')]"
},
"dependsOn": [
"privateDnsZone"
]
}
},
"SRV_roleAssignments": {
"copy": {
Expand Down
Loading

0 comments on commit eb9065c

Please sign in to comment.