Skip to content

Commit

Permalink
location
Browse files Browse the repository at this point in the history
  • Loading branch information
elanzel committed Nov 6, 2023
1 parent fd17c75 commit abb3964
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions avm/res/managed-identity/user-assigned-identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The following section provides usage examples for the module, which were used to

>**Note**: Each example lists all the required parameters first, followed by the rest - each in alphabetical order.
>**Note**: To reference the module, please use the following syntax `br:bicep/modules/managed-identity.user-assigned-identity:1.0.0`.
>**Note**: To reference the module, please use the following syntax `br/public:avm-res-managedidentity-userassignedidentity:1.0.0`.
- [Using only defaults](#example-1-using-only-defaults)
- [Using large parameter set](#example-2-using-large-parameter-set)
Expand All @@ -41,10 +41,12 @@ This instance deploys the module with the minimum set of required parameters.
<summary>via Bicep module</summary>

```bicep
module userAssignedIdentity 'br:bicep/modules/managed-identity.user-assigned-identity:1.0.0' = {
module userAssignedIdentity 'br/public:avm-res-managedidentity-userassignedidentity:1.0.0' = {
scope: resourceGroup
name: '${uniqueString(deployment().name, location)}-test-${serviceShort}-${iteration}'
params: {}
params: {
location: '<location>'
}
}
```

Expand All @@ -59,7 +61,11 @@ module userAssignedIdentity 'br:bicep/modules/managed-identity.user-assigned-ide
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {}
"parameters": {
"location": {
"value": "<location>"
},
}
}
```

Expand All @@ -76,11 +82,12 @@ This instance deploys the module with most of its features enabled.
<summary>via Bicep module</summary>

```bicep
module userAssignedIdentity 'br:bicep/modules/managed-identity.user-assigned-identity:1.0.0' = {
module userAssignedIdentity 'br/public:avm-res-managedidentity-userassignedidentity:1.0.0' = {
name: '${uniqueString(deployment().name, location)}-test-miauimax'
params: {
name: 'miuaimax001'
enableTelemetry: '<enableTelemetry>'
location: '<location>'
lock: {
kind: 'CanNotDelete'
name: 'myCustomLockName'
Expand Down Expand Up @@ -138,6 +145,9 @@ name: '${uniqueString(deployment().name, location)}-test-miauimax'
}
]
},
"location": {
"value": "<location>"
},
"lock": {
"value": {
"kind": "CanNotDelete",
Expand Down Expand Up @@ -180,10 +190,11 @@ This instance deploys the module in alignment with the best-pratices of the Well
<summary>via Bicep module</summary>

```bicep
module userAssignedIdentity 'br:bicep/modules/managed-identity.user-assigned-identity:1.0.0' = {
module userAssignedIdentity 'br/public:avm-res-managedidentity-userassignedidentity:1.0.0' = {
name: '${uniqueString(deployment().name, location)}-test-miauiwaf'
params: {
name: 'miuaiwaf001'
location: '<location>'
lock: {
kind: 'CanNotDelete'
name: 'myCustomLockName'
Expand Down Expand Up @@ -238,6 +249,9 @@ name: '${uniqueString(deployment().name, location)}-test-miauiwaf'
}
]
},
"location": {
"value": "<location>"
},
"lock": {
"value": {
"kind": "CanNotDelete",
Expand Down

0 comments on commit abb3964

Please sign in to comment.