Skip to content

Commit

Permalink
Fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan committed Jul 22, 2024
1 parent 7e3add2 commit 4eeae36
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions infra/app/ddd.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource app 'Microsoft.App/containerApps@2023-05-02-preview' = {
{
image: fetchLatestImage.outputs.?containers[?0].?image ?? 'mcr.microsoft.com/azuredocs/containerapps-helloworld:latest'
name: 'main'
env: union([
env: [
{
name: 'APPLICATIONINSIGHTS_CONNECTION_STRING'
value: applicationInsights.properties.ConnectionString
Expand All @@ -91,8 +91,7 @@ resource app 'Microsoft.App/containerApps@2023-05-02-preview' = {
name: 'PORT'
value: '80'
}
],
env)
]
resources: {
cpu: json('1.0')
memory: '2.0Gi'
Expand Down

0 comments on commit 4eeae36

Please sign in to comment.