Skip to content

Commit

Permalink
fix: delete unexpected version.json from child module folders (#4045)
Browse files Browse the repository at this point in the history
## Description

<!--
>Thank you for your contribution !
> Please include a summary of the change and which issue is fixed.
> Please also include the context.
> List any dependencies that are required for this change.

Fixes #123
Fixes #456
Closes #123
Closes #456
-->

## Pipeline Reference

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

| Pipeline |
| -------- |
|
[![avm.res.relay.namespace](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.relay.namespace.yml/badge.svg?branch=users%2Feriqua%2Fdelete-child-versions&event=workflow_dispatch)](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.relay.namespace.yml)
|
|
[![avm.res.insights.component](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.insights.component.yml/badge.svg?branch=users%2Feriqua%2Fdelete-child-versions&event=workflow_dispatch)](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.insights.component.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

## Checklist

- [x] I'm sure there are no other open Pull Requests for the same
update/change
- [x] I have run `Set-AVMModule` locally to generate the supporting
module files.
- [x] My corresponding pipelines / checks run clean and green without
any errors or warnings

<!-- Please keep up to date with the contribution guide at
https://aka.ms/avm/contribute/bicep -->
  • Loading branch information
eriqua authored Dec 22, 2024
1 parent bf6dd71 commit baa5bac
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 68 deletions.
7 changes: 0 additions & 7 deletions avm/res/insights/component/linkedStorageAccounts/version.json

This file was deleted.

4 changes: 2 additions & 2 deletions avm/res/relay/namespace/authorization-rule/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "9137586793857005081"
"version": "0.32.4.45862",
"templateHash": "7479847383920027864"
},
"name": "Relay Namespace Authorization Rules",
"description": "This module deploys a Relay Namespace Authorization Rule.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "4431168643851665214"
"version": "0.32.4.45862",
"templateHash": "16874474420330446057"
},
"name": "Hybrid Connection Authorization Rules",
"description": "This module deploys a Hybrid Connection Authorization Rule.",
Expand Down
13 changes: 5 additions & 8 deletions avm/res/relay/namespace/hybrid-connection/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "16821503954722419440"
"version": "0.32.4.45862",
"templateHash": "18308533065563728180"
},
"name": "Relay Namespace Hybrid Connections",
"description": "This module deploys a Relay Namespace Hybrid Connection.",
Expand Down Expand Up @@ -216,10 +216,7 @@
"properties": {
"requiresClientAuthorization": "[parameters('requiresClientAuthorization')]",
"userMetadata": "[parameters('userMetadata')]"
},
"dependsOn": [
"namespace"
]
}
},
"hybridConnection_lock": {
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
Expand Down Expand Up @@ -290,8 +287,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "4431168643851665214"
"version": "0.32.4.45862",
"templateHash": "16874474420330446057"
},
"name": "Hybrid Connection Authorization Rules",
"description": "This module deploys a Hybrid Connection Authorization Rule.",
Expand Down
43 changes: 17 additions & 26 deletions avm/res/relay/namespace/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "14262477260882181529"
"version": "0.32.4.45862",
"templateHash": "7253019544623758305"
},
"name": "Relay Namespaces",
"description": "This module deploys a Relay Namespace",
Expand Down Expand Up @@ -763,8 +763,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "9137586793857005081"
"version": "0.32.4.45862",
"templateHash": "7479847383920027864"
},
"name": "Relay Namespace Authorization Rules",
"description": "This module deploys a Relay Namespace Authorization Rule.",
Expand Down Expand Up @@ -862,8 +862,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "9578854855013298380"
"version": "0.32.4.45862",
"templateHash": "14133310184627909384"
},
"name": "Relay Namespace Network Rules Sets",
"description": "This module deploys a Relay Namespace Network Rule Set.",
Expand Down Expand Up @@ -923,10 +923,7 @@
"publicNetworkAccess": "[parameters('publicNetworkAccess')]",
"defaultAction": "[if(equals(parameters('publicNetworkAccess'), 'Disabled'), null(), if(not(empty(parameters('ipRules'))), 'Deny', parameters('defaultAction')))]",
"ipRules": "[if(equals(parameters('publicNetworkAccess'), 'Disabled'), null(), parameters('ipRules'))]"
},
"dependsOn": [
"namespace"
]
}
}
},
"outputs": {
Expand Down Expand Up @@ -991,8 +988,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "16821503954722419440"
"version": "0.32.4.45862",
"templateHash": "18308533065563728180"
},
"name": "Relay Namespace Hybrid Connections",
"description": "This module deploys a Relay Namespace Hybrid Connection.",
Expand Down Expand Up @@ -1202,10 +1199,7 @@
"properties": {
"requiresClientAuthorization": "[parameters('requiresClientAuthorization')]",
"userMetadata": "[parameters('userMetadata')]"
},
"dependsOn": [
"namespace"
]
}
},
"hybridConnection_lock": {
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
Expand Down Expand Up @@ -1276,8 +1270,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "4431168643851665214"
"version": "0.32.4.45862",
"templateHash": "16874474420330446057"
},
"name": "Hybrid Connection Authorization Rules",
"description": "This module deploys a Hybrid Connection Authorization Rule.",
Expand Down Expand Up @@ -1419,8 +1413,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "10679723922873486376"
"version": "0.32.4.45862",
"templateHash": "16831624173156818466"
},
"name": "Relay Namespace WCF Relays",
"description": "This module deploys a Relay Namespace WCF Relay.",
Expand Down Expand Up @@ -1650,10 +1644,7 @@
"requiresClientAuthorization": "[parameters('requiresClientAuthorization')]",
"requiresTransportSecurity": "[parameters('requiresTransportSecurity')]",
"userMetadata": "[parameters('userMetadata')]"
},
"dependsOn": [
"namespace"
]
}
},
"wcfRelay_lock": {
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
Expand Down Expand Up @@ -1724,8 +1715,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "15492272456787428584"
"version": "0.32.4.45862",
"templateHash": "8715780951052065579"
},
"name": "WCF Relay Authorization Rules",
"description": "This module deploys a WCF Relay Authorization Rule.",
Expand Down
9 changes: 3 additions & 6 deletions avm/res/relay/namespace/network-rule-set/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "9578854855013298380"
"version": "0.32.4.45862",
"templateHash": "14133310184627909384"
},
"name": "Relay Namespace Network Rules Sets",
"description": "This module deploys a Relay Namespace Network Rule Set.",
Expand Down Expand Up @@ -66,10 +66,7 @@
"publicNetworkAccess": "[parameters('publicNetworkAccess')]",
"defaultAction": "[if(equals(parameters('publicNetworkAccess'), 'Disabled'), null(), if(not(empty(parameters('ipRules'))), 'Deny', parameters('defaultAction')))]",
"ipRules": "[if(equals(parameters('publicNetworkAccess'), 'Disabled'), null(), parameters('ipRules'))]"
},
"dependsOn": [
"namespace"
]
}
}
},
"outputs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "15492272456787428584"
"version": "0.32.4.45862",
"templateHash": "8715780951052065579"
},
"name": "WCF Relay Authorization Rules",
"description": "This module deploys a WCF Relay Authorization Rule.",
Expand Down

This file was deleted.

13 changes: 5 additions & 8 deletions avm/res/relay/namespace/wcf-relay/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "10679723922873486376"
"version": "0.32.4.45862",
"templateHash": "16831624173156818466"
},
"name": "Relay Namespace WCF Relays",
"description": "This module deploys a Relay Namespace WCF Relay.",
Expand Down Expand Up @@ -236,10 +236,7 @@
"requiresClientAuthorization": "[parameters('requiresClientAuthorization')]",
"requiresTransportSecurity": "[parameters('requiresTransportSecurity')]",
"userMetadata": "[parameters('userMetadata')]"
},
"dependsOn": [
"namespace"
]
}
},
"wcfRelay_lock": {
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
Expand Down Expand Up @@ -310,8 +307,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "15492272456787428584"
"version": "0.32.4.45862",
"templateHash": "8715780951052065579"
},
"name": "WCF Relay Authorization Rules",
"description": "This module deploys a WCF Relay Authorization Rule.",
Expand Down

0 comments on commit baa5bac

Please sign in to comment.