Skip to content

Commit dc04e17

Browse files
feat: Removed old code and updated docker build
1 parent 2d60268 commit dc04e17

24 files changed

Lines changed: 52 additions & 1861 deletions

infra/container_app/deploy_container_app.bicep

Lines changed: 0 additions & 72 deletions
This file was deleted.

infra/container_app/deploy_container_app_api_web.bicep

Lines changed: 0 additions & 164 deletions
This file was deleted.

infra/container_app/deploy_container_app_env.bicep

Lines changed: 0 additions & 56 deletions
This file was deleted.

infra/main.bicep

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ param resourceGroupLocation string = resourceGroup().location
6565
param resourceNameFormatString string = '{0}avm-cps'
6666

6767
@description('Optional. Enable WAF for the deployment.')
68-
param enablePrivateNetworking bool = true
68+
param enablePrivateNetworking bool
6969

7070
@description('Optional. Enable/Disable usage telemetry for module.')
7171
param enableTelemetry bool = true
@@ -1387,14 +1387,32 @@ module avmContainerApp_API_update 'br/public:avm/res/app/container-app:0.17.0' =
13871387
// Outputs //
13881388
// ============ //
13891389

1390-
@description('The resource ID of the Container App Environment.')
1390+
@description('The name of the Container App used for Web App.')
13911391
output CONTAINER_WEB_APP_NAME string = avmContainerApp_Web.outputs.name
1392-
@description('The resource ID of the Container App API.')
1392+
1393+
@description('The name of the Container App used for API.')
13931394
output CONTAINER_API_APP_NAME string = avmContainerApp_API.outputs.name
1394-
@description('The resource ID of the Container App Environment.')
1395+
1396+
@description('The FQDN of the Container App.')
13951397
output CONTAINER_WEB_APP_FQDN string = avmContainerApp_Web.outputs.fqdn
1396-
@description('The resource ID of the Container App API.')
1398+
1399+
@description('The FQDN of the Container App API.')
13971400
output CONTAINER_API_APP_FQDN string = avmContainerApp_API.outputs.fqdn
13981401

1402+
@description('The name of the Container App used for APP.')
1403+
output CONTAINER_APP_NAME string = avmContainerApp.outputs.name
1404+
1405+
@description('The user identity resource ID used fot the Container APP.')
1406+
output CONTAINER_APP_USER_IDENTITY_ID string = avmContainerRegistryReader.outputs.resourceId
1407+
1408+
@description('The user identity Principal ID used fot the Container APP.')
1409+
output CONTAINER_APP_USER_PRINCIPAL_ID string = avmContainerRegistryReader.outputs.principalId
1410+
1411+
@description('The name of the Azure Container Registry.')
1412+
output CONTAINER_REGISTRY_NAME string = avmContainerRegistry.outputs.name
1413+
1414+
@description('The login server of the Azure Container Registry.')
1415+
output CONTAINER_REGISTRY_LOGIN_SERVER string = avmContainerRegistry.outputs.loginServer
1416+
13991417
@description('The resource group the resources were deployed into.')
14001418
output resourceGroupName string = resourceGroup().name

0 commit comments

Comments
 (0)