@@ -673,14 +673,12 @@ module virtualNetwork 'br/public:avm/res/network/virtual-network:0.7.0' = if (en
673673 {
674674 name : 'backend'
675675 addressPrefix : '10.0.0.0/27'
676- //defaultOutboundAccess: false TODO: check this configuration for a more restricted outbound access
677676 networkSecurityGroupResourceId : networkSecurityGroupBackend !.outputs .resourceId
678677 }
679678 {
680679 name : 'administration'
681680 addressPrefix : '10.0.0.32/27'
682681 networkSecurityGroupResourceId : networkSecurityGroupAdministration !.outputs .resourceId
683- //defaultOutboundAccess: false TODO: check this configuration for a more restricted outbound access
684682 //natGatewayResourceId: natGateway.outputs.resourceId
685683 }
686684 {
@@ -1314,7 +1312,6 @@ var cosmosDbResourceName = 'cosmos-${solutionSuffix}'
13141312var cosmosDbDatabaseName = 'macae'
13151313var cosmosDbDatabaseMemoryContainerName = 'memory'
13161314
1317- //TODO: update to latest version of AVM module
13181315module cosmosDb 'br/public:avm/res/document-db/database-account:0.15.0' = {
13191316 name : take ('avm.res.document-db.database-account.${cosmosDbResourceName }' , 64 )
13201317 params : {
@@ -1530,24 +1527,6 @@ module containerApp 'br/public:avm/res/app/container-app:0.18.1' = {
15301527 name : 'backend'
15311528 //image: '${backendContainerRegistryHostname}/${backendContainerImageName}:${backendContainerImageTag}'
15321529 image : 'mcr.microsoft.com/azuredocs/containerapps-helloworld:latest'
1533- //TODO: configure probes for container app
1534- // probes: [
1535- // {
1536- // httpGet: {
1537- // httpHeaders: [
1538- // {
1539- // name: 'Custom-Header'
1540- // value: 'Awesome'
1541- // }
1542- // ]
1543- // path: '/health'
1544- // port: 8080
1545- // }
1546- // initialDelaySeconds: 3
1547- // periodSeconds: 3
1548- // type: 'Liveness'
1549- // }
1550- // ]
15511530 resources : {
15521531 cpu : '2.0'
15531532 memory : '4.0Gi'
@@ -1746,24 +1725,6 @@ module containerAppMcp 'br/public:avm/res/app/container-app:0.18.1' = {
17461725 name : 'mcp'
17471726 //image: '${backendContainerRegistryHostname}/${backendContainerImageName}:${backendContainerImageTag}'
17481727 image : 'mcr.microsoft.com/azuredocs/containerapps-helloworld:latest'
1749- //TODO: configure probes for container app
1750- // probes: [
1751- // {
1752- // httpGet: {
1753- // httpHeaders: [
1754- // {
1755- // name: 'Custom-Header'
1756- // value: 'Awesome'
1757- // }
1758- // ]
1759- // path: '/health'
1760- // port: 8080
1761- // }
1762- // initialDelaySeconds: 3
1763- // periodSeconds: 3
1764- // type: 'Liveness'
1765- // }
1766- // ]
17671728 resources : {
17681729 cpu : '2.0'
17691730 memory : '4.0Gi'
0 commit comments