Skip to content

Commit 2ceb956

Browse files
Merge pull request #233 from microsoft/dev
fix: Dev to main
2 parents 18b423a + 0a1bb4d commit 2ceb956

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ jobs:
194194
195195
- name: Login to Azure
196196
run: |
197-
az login --service-principal -u ${{ secrets.AZURE_CLIENT_ID }} -p ${{ secrets.AZURE_CLIENT_SECRET }} --tenant ${{ secrets.AZURE_TENANT_ID }}
197+
az login --service-principal -u ${{ secrets.AZURE_CLIENT_ID }} -p ${{ secrets.AZURE_CLIENT_SECRET }} --tenant ${{ secrets.AZURE_TENANT_ID }}
198+
az account set --subscription "${{ secrets.AZURE_SUBSCRIPTION_ID }}"
198199
199200
- name: Assign Contributor role to Service Principal
200201
if: always()
@@ -208,7 +209,7 @@ jobs:
208209
echo "Assigning Log Analytics Contributor role for Log Analytics workspace access at RG level..."
209210
az role assignment create \
210211
--assignee ${{ secrets.AZURE_CLIENT_ID }} \
211-
--role "Log Analytics Contributor" \
212+
--role "Log Analytics Reader" \
212213
--scope /subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/resourceGroups/${{ env.RESOURCE_GROUP_NAME }} || echo "Log Analytics Contributor role assignment failed (may already exist)"
213214
214215
echo "Waiting for role assignment propagation..."
@@ -439,4 +440,4 @@ jobs:
439440
if: always()
440441
run: |
441442
az logout
442-
echo "Logged out from Azure."
443+
echo "Logged out from Azure."

docs/AVMPostDeploymentGuide.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# AVM Post Deployment Guide
2+
3+
> **📋 Note**: This guide is specifically for post-deployment steps after using the AVM template. For complete deployment from scratch, see the main [Deployment Guide](./DeploymentGuide.md).
4+
5+
---
6+
7+
This document provides guidance on post-deployment steps after deploying the Modernize your code solution accelerator from the [AVM (Azure Verified Modules) repository](https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/sa/modernize-your-code).
8+
9+
## Pre-requisites
10+
11+
Ensure you have a **Deployed Infrastructure** - A successful Modernize your code solution accelerator deployment from the [AVM repository](https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/sa/modernize-your-code)
12+
13+
## Next Steps
14+
15+
1. **Access the Application**
16+
17+
Navigate to your Azure portal, open the resource group created by the deployment, locate the frontend Container App, and copy the Application URL to access the solution.
18+
19+
2. **Add App Authentication**
20+
21+
If you chose to enable authentication for the deployment, follow the steps in [App Authentication](./AddAuthentication.md)
22+
23+
## Running the application
24+
25+
To help you get started, sample Informix queries have been included in the `data/informix/functions` and `data/informix/simple` directories. You can choose to upload these files to test the application.

scripts/checkquota.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ for REGION in "${REGIONS[@]}"; do
4949

5050
if [ -z "$MODEL_INFO" ]; then
5151
echo "⚠️ WARNING: No quota information found for model: $MODEL in $REGION. Skipping."
52+
INSUFFICIENT_QUOTA=true
5253
continue
5354
fi
5455

0 commit comments

Comments
 (0)