Merged in fix/redis-api-set-sentry-environment-via-bicep (pull request #1981)
fix: set sentry environment through bicep deploys * fix: set sentry environment through bicep deploys Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -8,6 +8,10 @@ param containerImageTag string = 'latest'
|
||||
param primaryApiKey string
|
||||
param secondaryApiKey string
|
||||
|
||||
param sentryDSN string
|
||||
param sentryEnabled string
|
||||
param sentryTraceSampleRate string
|
||||
|
||||
@description('The location for the resource group')
|
||||
param location string = 'westeurope'
|
||||
|
||||
@@ -43,5 +47,9 @@ module containerApp 'app/main.bicep' = {
|
||||
redisConnection: 'default:${redis.outputs.primaryAccessKey}@${redis.outputs.hostname}:6380'
|
||||
primaryApiKey: primaryApiKey
|
||||
secondaryApiKey: secondaryApiKey
|
||||
sentryEnvironment: environment == 'prod' ? 'production' : 'test'
|
||||
sentryDSN: sentryDSN
|
||||
sentryEnabled: sentryEnabled
|
||||
sentryTraceSampleRate: sentryTraceSampleRate
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user