Skip to content

Commit

Permalink
adding 'systemAssignedPrincipalId' as output (#3037)
Browse files Browse the repository at this point in the history
  • Loading branch information
krbar authored Mar 22, 2023
1 parent e0641f6 commit 77fe941
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/Microsoft.Synapse/workspaces/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -323,5 +323,8 @@ output resourceGroupName string = resourceGroup().name
@description('The workspace connectivity endpoints.')
output connectivityEndpoints object = workspace.properties.connectivityEndpoints

@description('The principal ID of the system assigned identity.')
output systemAssignedPrincipalId string = contains(workspace.identity, 'principalId') ? workspace.identity.principalId : ''

@description('The location the resource was deployed into.')
output location string = workspace.location
1 change: 1 addition & 0 deletions modules/Microsoft.Synapse/workspaces/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ userAssignedIdentities: {
| `name` | string | The name of the deployed Synapse Workspace. |
| `resourceGroupName` | string | The resource group of the deployed Synapse Workspace. |
| `resourceID` | string | The resource ID of the deployed Synapse Workspace. |
| `systemAssignedPrincipalId` | string | The principal ID of the system assigned identity. |

## Cross-referenced modules

Expand Down

0 comments on commit 77fe941

Please # to comment.