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:
Joakim Jäderberg
2025-05-06 13:06:28 +00:00
parent 52115f0ba1
commit 814a1c534b
2 changed files with 11 additions and 0 deletions

View File

@@ -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
}
}