Skip to content

Commit 6a9ea02

Browse files
committed
feat(infra): restructure infrastructure files and add new API and UI configurations
1 parent 6a1c291 commit 6a9ea02

File tree

7 files changed

+4
-94
lines changed

7 files changed

+4
-94
lines changed

azure.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ services:
77
api:
88
language: csharp
99
project: ./src/server/FakeSurveyGenerator.Api
10-
module: ./src/server/infra
1110
host: containerapp
1211
docker:
1312
path: ./Dockerfile
@@ -17,7 +16,6 @@ services:
1716
ui:
1817
language: ts
1918
project: ./src/client/frontend
20-
module: ./src/client/infra
2119
host: containerapp
2220
dist: dist
2321
docker:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using './main.bicep'
1+
using './api.bicep'
22

33
param containerAppName = readEnvironmentVariable('SERVICE_API_NAME', '')
44
param containerAppEnvironmentId = readEnvironmentVariable('AZURE_CONTAINER_APPS_ENVIRONMENT_ID', '')
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2025-
99
name: managedIdentityName
1010
}
1111

12-
module containerAppEnvironment 'modules/containerAppEnvironment.bicep' = {
12+
module containerAppEnvironment 'containerAppEnvironment.bicep' = {
1313
name: 'containerAppEnvironment'
1414
params: {
1515
location: location
@@ -20,7 +20,7 @@ module containerAppEnvironment 'modules/containerAppEnvironment.bicep' = {
2020
}
2121
}
2222

23-
module daprSecretStoreComponent 'modules/daprComponent.bicep' = {
23+
module daprSecretStoreComponent 'daprComponent.bicep' = {
2424
name: 'daprSecretStoreComponent'
2525
params: {
2626
componentName: 'secrets'

infra/modules/containerApp.bicep

Lines changed: 0 additions & 88 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using './main.bicep'
1+
using './ui.bicep'
22

33
param containerAppName = readEnvironmentVariable('SERVICE_UI_NAME', '')
44
param containerAppEnvironmentId = readEnvironmentVariable('AZURE_CONTAINER_APPS_ENVIRONMENT_ID', '')

0 commit comments

Comments
 (0)