Skip to content

Commit

Permalink
Reintroduce output for new resource group name and add outputs for st…
Browse files Browse the repository at this point in the history
…atic site and function app names in Bicep template
  • Loading branch information
Raj committed Jan 7, 2025
1 parent 74e49c8 commit 6dbfd9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions infra/bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ resource newResourceGroup 'Microsoft.Resources/resourceGroups@2024-07-01' = {
location: location
}

output newResourceGroupName string = newResourceGroup.name

module signalRModule 'azuresignalr.bicep' = {
name: 'signalRDeployment'
scope: newResourceGroup
Expand Down Expand Up @@ -54,3 +52,7 @@ module functionAppModule 'azurefunctions.bicep' = {
signalRName: signalRModule.outputs.signalRName
}
}

output newResourceGroupName string = newResourceGroup.name
output staticSiteName string = staticWebAppModule.outputs.staticSiteName
output functionAppName string = functionAppModule.outputs.functionAppName

0 comments on commit 6dbfd9c

Please sign in to comment.