Skip to content

Commit

Permalink
added local testing app insights env
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Mar 19, 2024
1 parent 0f57a96 commit d5c4f6e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ var value = {
'cost-category': 'value'
}

var dev = {
'cost-category': 'dev/test'
}

module acr 'acr.bicep' = {
name: 'acr-${now}'
params: {
Expand All @@ -61,6 +65,15 @@ module appInsight 'appInsight.bicep' = {
}
}

module appInsightLocal 'appInsight.bicep' = {
name: 'appInsight-local-${now}'
params: {
projectName: '${projectName}-local'
location: location
tags: dev
}
}

module appService 'appService.bicep' = {
name: 'appService-${now}'
params: {
Expand Down

0 comments on commit d5c4f6e

Please sign in to comment.