Skip to content

Commit

Permalink
fix: hard coded key vault name
Browse files Browse the repository at this point in the history
  • Loading branch information
asleboon committed Jan 18, 2025
1 parent cc55b3b commit f41a067
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions infra/container-api-prod.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ param location string = 'norwayeast'
@description('Name of managed identity resource')
param managedIdentityName string = 'bds-prod-managedidentity'

@description('Key Vault module name')
param keyVaultName string = 'bds-prod-keyvault'

@description('The name of the container environment.')
param containerName string = 'bds-prod-containerenv-api'

Expand Down Expand Up @@ -40,6 +43,7 @@ module containerApp 'modules/containerApp.bicep' = {
params: {
location: location
managedIdentityName: managedIdentityName
keyVaultName: keyVaultName
containerAppName: containerAppName
containerAppEnvironmentId: containerEnv.outputs.id
acrLoginServer: acrServer
Expand Down
4 changes: 4 additions & 0 deletions infra/container-api-test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ param location string = 'norwayeast'
@description('Name of managed identity resource')
param managedIdentityName string = 'bds-test-managedidentity'

@description('Key Vault module name')
param keyVaultName string = 'bds-test-keyvault'

@description('The name of the container environment.')
param containerName string = 'bds-test-containerenv-api'

Expand Down Expand Up @@ -40,6 +43,7 @@ module containerApp 'modules/containerApp.bicep' = {
params: {
location: location
managedIdentityName: managedIdentityName
keyVaultName: keyVaultName
containerAppName: containerAppName
containerAppEnvironmentId: containerEnv.outputs.id
acrLoginServer: acrServer
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/containerApp.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ param managedIdentityName string
param containerAppName string

@description('Key Vault module name')
param keyVaultName string = 'bds-test-keyvault'
param keyVaultName string

@description('The ID of the Container App Environment')
param containerAppEnvironmentId string
Expand Down

0 comments on commit f41a067

Please sign in to comment.