Skip to content

Commit

Permalink
fix: Enabled readme generation script to handle V2 Bicep formatter (#…
Browse files Browse the repository at this point in the history
…1321)

## Description

- Enabled readme generation script to handle V2 Bicep formatter
(introduced via 0.26.54)

## Pipeline Reference

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

| Pipeline |
| -------- |
|          |

---------

Co-authored-by: Erika Gressi <[email protected]>
Co-authored-by: ChrisSidebotham-MSFT <[email protected]>
  • Loading branch information
3 people authored Mar 21, 2024
1 parent 792d5be commit 07951ad
Show file tree
Hide file tree
Showing 119 changed files with 869 additions and 779 deletions.
6 changes: 3 additions & 3 deletions avm/res/analysis-services/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module server 'br/public:avm/res/analysis-services/server:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-assmin'
name: 'serverDeployment'
params: {
// Required parameters
name: 'assmin'
Expand Down Expand Up @@ -96,7 +96,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module server 'br/public:avm/res/analysis-services/server:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-assmax'
name: 'serverDeployment'
params: {
// Required parameters
name: 'assmax'
Expand Down Expand Up @@ -278,7 +278,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module server 'br/public:avm/res/analysis-services/server:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-asswaf'
name: 'serverDeployment'
params: {
// Required parameters
name: 'asswaf'
Expand Down
14 changes: 9 additions & 5 deletions avm/res/api-management/service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module service 'br/public:avm/res/api-management/service:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-apismin'
name: 'serviceDeployment'
params: {
// Required parameters
name: 'apismin001'
Expand Down Expand Up @@ -114,7 +114,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module service 'br/public:avm/res/api-management/service:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-apismax'
name: 'serviceDeployment'
params: {
// Required parameters
name: 'apismax001'
Expand Down Expand Up @@ -274,6 +274,7 @@ module service 'br/public:avm/res/api-management/service:<version>' = {
subscriptions: [
{
name: 'testArmSubscriptionAllApis'
scope: '/apis'
}
]
tags: {
Expand Down Expand Up @@ -489,7 +490,8 @@ module service 'br/public:avm/res/api-management/service:<version>' = {
"subscriptions": {
"value": [
{
"name": "testArmSubscriptionAllApis"
"name": "testArmSubscriptionAllApis",
"scope": "/apis"
}
]
},
Expand Down Expand Up @@ -518,7 +520,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module service 'br/public:avm/res/api-management/service:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-apiswaf'
name: 'serviceDeployment'
params: {
// Required parameters
name: 'apiswaf001'
Expand Down Expand Up @@ -667,6 +669,7 @@ module service 'br/public:avm/res/api-management/service:<version>' = {
subscriptions: [
{
name: 'testArmSubscriptionAllApis'
scope: '/apis'
}
]
tags: {
Expand Down Expand Up @@ -869,7 +872,8 @@ module service 'br/public:avm/res/api-management/service:<version>' = {
"subscriptions": {
"value": [
{
"name": "testArmSubscriptionAllApis"
"name": "testArmSubscriptionAllApis",
"scope": "/apis"
}
]
},
Expand Down
10 changes: 5 additions & 5 deletions avm/res/app-configuration/configuration-store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module configurationStore 'br/public:avm/res/app-configuration/configuration-store:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-accmin'
name: 'configurationStoreDeployment'
params: {
// Required parameters
name: 'accmin001'
Expand Down Expand Up @@ -101,7 +101,7 @@ This instance deploys the module using Customer-Managed-Keys using a User-Assign

```bicep
module configurationStore 'br/public:avm/res/app-configuration/configuration-store:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-accencr'
name: 'configurationStoreDeployment'
params: {
// Required parameters
name: 'accencr001'
Expand Down Expand Up @@ -219,7 +219,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module configurationStore 'br/public:avm/res/app-configuration/configuration-store:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-accmax'
name: 'configurationStoreDeployment'
params: {
// Required parameters
name: 'accmax001'
Expand Down Expand Up @@ -423,7 +423,7 @@ This instance deploys the module with private endpoints.

```bicep
module configurationStore 'br/public:avm/res/app-configuration/configuration-store:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-accpe'
name: 'configurationStoreDeployment'
params: {
// Required parameters
name: 'accpe001'
Expand Down Expand Up @@ -527,7 +527,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module configurationStore 'br/public:avm/res/app-configuration/configuration-store:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-accwaf'
name: 'configurationStoreDeployment'
params: {
// Required parameters
name: 'accwaf001'
Expand Down
6 changes: 3 additions & 3 deletions avm/res/app/container-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module containerApp 'br/public:avm/res/app/container-app:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-acamin'
name: 'containerAppDeployment'
params: {
// Required parameters
containers: [
Expand Down Expand Up @@ -116,7 +116,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module containerApp 'br/public:avm/res/app/container-app:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-acamax'
name: 'containerAppDeployment'
params: {
// Required parameters
containers: [
Expand Down Expand Up @@ -310,7 +310,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module containerApp 'br/public:avm/res/app/container-app:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-acawaf'
name: 'containerAppDeployment'
params: {
// Required parameters
containers: [
Expand Down
6 changes: 3 additions & 3 deletions avm/res/app/managed-environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module managedEnvironment 'br/public:avm/res/app/managed-environment:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-amemin'
name: 'managedEnvironmentDeployment'
params: {
// Required parameters
logAnalyticsWorkspaceResourceId: '<logAnalyticsWorkspaceResourceId>'
Expand Down Expand Up @@ -94,7 +94,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module managedEnvironment 'br/public:avm/res/app/managed-environment:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-amemax'
name: 'managedEnvironmentDeployment'
params: {
// Required parameters
logAnalyticsWorkspaceResourceId: '<logAnalyticsWorkspaceResourceId>'
Expand Down Expand Up @@ -244,7 +244,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module managedEnvironment 'br/public:avm/res/app/managed-environment:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-amewaf'
name: 'managedEnvironmentDeployment'
params: {
// Required parameters
logAnalyticsWorkspaceResourceId: '<logAnalyticsWorkspaceResourceId>'
Expand Down
8 changes: 4 additions & 4 deletions avm/res/automation/automation-account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module automationAccount 'br/public:avm/res/automation/automation-account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-aamin'
name: 'automationAccountDeployment'
params: {
// Required parameters
name: 'aamin001'
Expand Down Expand Up @@ -102,7 +102,7 @@ This instance deploys the module using Customer-Managed-Keys using a User-Assign

```bicep
module automationAccount 'br/public:avm/res/automation/automation-account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-aaencr'
name: 'automationAccountDeployment'
params: {
// Required parameters
name: 'aaencr001'
Expand Down Expand Up @@ -174,7 +174,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module automationAccount 'br/public:avm/res/automation/automation-account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-aamax'
name: 'automationAccountDeployment'
params: {
// Required parameters
name: 'aamax001'
Expand Down Expand Up @@ -662,7 +662,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module automationAccount 'br/public:avm/res/automation/automation-account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-aawaf'
name: 'automationAccountDeployment'
params: {
// Required parameters
name: 'aawaf001'
Expand Down
8 changes: 4 additions & 4 deletions avm/res/batch/batch-account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module batchAccount 'br/public:avm/res/batch/batch-account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-bbamin'
name: 'batchAccountDeployment'
params: {
// Required parameters
name: 'bbamin001'
Expand Down Expand Up @@ -98,7 +98,7 @@ This instance deploys the module using Customer-Managed-Keys using a User-Assign

```bicep
module batchAccount 'br/public:avm/res/batch/batch-account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-bbaencr'
name: 'batchAccountDeployment'
params: {
// Required parameters
name: 'bbaencr001'
Expand Down Expand Up @@ -188,7 +188,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module batchAccount 'br/public:avm/res/batch/batch-account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-bbamax'
name: 'batchAccountDeployment'
params: {
// Required parameters
name: 'bbamax001'
Expand Down Expand Up @@ -504,7 +504,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module batchAccount 'br/public:avm/res/batch/batch-account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-bbawaf'
name: 'batchAccountDeployment'
params: {
// Required parameters
name: 'bbawaf001'
Expand Down
6 changes: 3 additions & 3 deletions avm/res/cache/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module redis 'br/public:avm/res/cache/redis:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-crmin'
name: 'redisDeployment'
params: {
// Required parameters
name: 'crmin001'
Expand Down Expand Up @@ -94,7 +94,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module redis 'br/public:avm/res/cache/redis:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-crmax'
name: 'redisDeployment'
params: {
// Required parameters
name: 'crmax001'
Expand Down Expand Up @@ -354,7 +354,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module redis 'br/public:avm/res/cache/redis:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-crwaf'
name: 'redisDeployment'
params: {
// Required parameters
name: 'crwaf001'
Expand Down
8 changes: 4 additions & 4 deletions avm/res/cdn/profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This instance deploys the module as Azure Front Door.

```bicep
module profile 'br/public:avm/res/cdn/profile:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-cdnpafd'
name: 'profileDeployment'
params: {
// Required parameters
name: 'dep-test-cdnpafd'
Expand Down Expand Up @@ -243,7 +243,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module profile 'br/public:avm/res/cdn/profile:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-cdnpmin'
name: 'profileDeployment'
params: {
// Required parameters
name: 'dep-test-cdnpmin'
Expand Down Expand Up @@ -295,7 +295,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module profile 'br/public:avm/res/cdn/profile:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-cdnpmax'
name: 'profileDeployment'
params: {
// Required parameters
name: 'dep-test-cdnpmax'
Expand Down Expand Up @@ -459,7 +459,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module profile 'br/public:avm/res/cdn/profile:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-cdnpwaf'
name: 'profileDeployment'
params: {
// Required parameters
name: 'dep-test-cdnpwaf'
Expand Down
12 changes: 6 additions & 6 deletions avm/res/cognitive-services/account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This instance deploys the module with the minimum set of required parameters.

```bicep
module account 'br/public:avm/res/cognitive-services/account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-csamin'
name: 'accountDeployment'
params: {
// Required parameters
kind: 'SpeechServices'
Expand Down Expand Up @@ -100,7 +100,7 @@ This instance deploys the module with most of its features enabled.

```bicep
module account 'br/public:avm/res/cognitive-services/account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-csamax'
name: 'accountDeployment'
params: {
// Required parameters
kind: 'Face'
Expand Down Expand Up @@ -388,7 +388,7 @@ This instance deploys the module as a Speech Service.

```bicep
module account 'br/public:avm/res/cognitive-services/account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-csaspeech'
name: 'accountDeployment'
params: {
// Required parameters
kind: 'SpeechServices'
Expand Down Expand Up @@ -502,7 +502,7 @@ This instance deploys the module using Customer-Managed-Keys using a System-Assi

```bicep
module account 'br/public:avm/res/cognitive-services/account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-csaecrs'
name: 'accountDeployment'
params: {
// Required parameters
kind: 'SpeechServices'
Expand Down Expand Up @@ -584,7 +584,7 @@ This instance deploys the module using Customer-Managed-Keys using a User-Assign

```bicep
module account 'br/public:avm/res/cognitive-services/account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-csaencr'
name: 'accountDeployment'
params: {
// Required parameters
kind: 'SpeechServices'
Expand Down Expand Up @@ -672,7 +672,7 @@ This instance deploys the module in alignment with the best-practices of the Azu

```bicep
module account 'br/public:avm/res/cognitive-services/account:<version>' = {
name: '${uniqueString(deployment().name, resourceLocation)}-test-csawaf'
name: 'accountDeployment'
params: {
// Required parameters
kind: 'Face'
Expand Down
Loading

0 comments on commit 07951ad

Please sign in to comment.