Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Utilities] Ported updated reference resolution from AVM #4468

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/analysis-services/server/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Analysis Services Servers `[Microsoft.AnalysisServices/servers]`

This module deploys an Analysis Services Server.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys an Analysis Services Server.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/cache/redis/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Redis Cache `[Microsoft.Cache/redis]`

This module deploys a Redis Cache.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys a Redis Cache.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/compute/disk/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Compute Disks `[Microsoft.Compute/disks]`

This module deploys a Compute Disk.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys a Compute Disk

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/compute/image/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Images `[Microsoft.Compute/images]`

This module deploys a Compute Image.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys a Compute Image.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/consumption/budget/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Consumption Budgets `[Microsoft.Consumption/budgets]`

This module deploys a Consumption Budget for Subscriptions.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys a Consumption Budget for Subscriptions.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/data-protection/backup-vault/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Data Protection Backup Vaults `[Microsoft.DataProtection/backupVaults]`

This module deploys a Data Protection Backup Vault.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys a Data Protection Backup Vault.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/databricks/access-connector/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Azure Databricks Access Connectors `[Microsoft.Databricks/accessConnectors]`

This module deploys an Azure Databricks Access Connector.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys an Azure Databricks Access Connector.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/databricks/workspace/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Azure Databricks Workspaces `[Microsoft.Databricks/workspaces]`

This module deploys an Azure Databricks Workspace.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys an Azure Databricks Workspace.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/db-for-my-sql/flexible-server/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# DBforMySQL Flexible Servers `[Microsoft.DBforMySQL/flexibleServers]`

This module deploys a DBforMySQL Flexible Server.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys a DBforMySQL Flexible Server.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/health-bot/health-bot/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Azure Health Bots `[Microsoft.HealthBot/healthBots]`

This module deploys an Azure Health Bot.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys an Azure Health Bot.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
4 changes: 2 additions & 2 deletions modules/net-app/net-app-account/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Azure NetApp Files `[Microsoft.NetApp/netAppAccounts]`

This module deploys an Azure NetApp File.

> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).

This module deploys an Azure NetApp File.

## Navigation

- [Resource Types](#Resource-Types)
Expand Down
6 changes: 5 additions & 1 deletion utilities/tools/Get-CrossReferencedModuleList.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ function Get-CrossReferencedModuleList {
$resultSet = [ordered]@{}

# Collect data
$moduleTemplatePaths = (Get-ChildItem -Path $path -Recurse -File -Filter 'main.bicep').FullName
$moduleTemplatePaths = (Get-ChildItem -Path $path -Recurse -File -Filter '*.bicep').FullName | Where-Object {
# No files in the [/utilities/tools/] folder and none in the [/tests/] folder
$_ -notmatch '.*[\\|\/]tools[\\|\/].*|.*[\\|\/]tests[\\|\/].*'
} | Sort-Object

$templateMap = @{}
foreach ($moduleTemplatePath in $moduleTemplatePaths) {
$templateMap[$moduleTemplatePath] = Get-Content -Path $moduleTemplatePath
Expand Down
Loading