From e4298e275d7a5f299304f778c380caf2feffeac3 Mon Sep 17 00:00:00 2001 From: Marlene <57748216+marlenezw@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:20:41 +0000 Subject: [PATCH] updating bicep and readme. --- README.md | 10 ---------- infra/main.bicep | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index 76126b71..99a3bfe1 100644 --- a/README.md +++ b/README.md @@ -78,16 +78,6 @@ You can run this template virtually by using GitHub Codespaces. The button will source venv/bin/activate ``` - Windows venv activation: - ```bash - cd backend - python3 -m venv venv - # In cmd.exe - venv\Scripts\activate.bat - # In PowerShell - venv\Scripts\Activate.ps1 - ``` - Install dependencies with poetry: ```bash poetry install diff --git a/infra/main.bicep b/infra/main.bicep index a84b3a4d..ac6074d6 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -174,7 +174,7 @@ module openAiRoleUser './shared/role.bicep' = if (createRoleForUser && createAzu } } -module openAiRoleBackend './shared/role.bicep' = if (createAzureOpenAi) { +module openAiRoleBackend './shared/role.bicep' = if (createAzureOpenAi && !createRoleForUser) { scope: rg name: 'openai-role-backend' params: {