Skip to content

Commit 9c85d10

Browse files
committed
feat: add Redis connection string parameter to main Bicep file and update Azure Dev YAML for Redis secret
1 parent 0d007f6 commit 9c85d10

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/azure-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}
3131
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
3232
CACHE_REFRESH_API_KEY: ${{ secrets.CACHE_REFRESH_API_KEY }}
33+
AZURE_REDIS: ${{ secrets.AZURE_REDIS }}
3334

3435
steps:
3536
- name: Checkout

infra/main.bicep

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ param principalId string = ''
1616
@secure()
1717
param cacheRefreshApiKey string = ''
1818

19-
param redis string
19+
@description('Connection string for Redis cache')
20+
@secure()
21+
param redis string // Used by AZD for container app deployment via securedParameter in web.tmpl.yaml
2022

2123

2224
var tags = {

0 commit comments

Comments
 (0)