Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ jobs:

- name: Login to Azure
run: |
az login --service-principal -u ${{ secrets.AZURE_CLIENT_ID }} -p ${{ secrets.AZURE_CLIENT_SECRET }} --tenant ${{ secrets.AZURE_TENANT_ID }}
az login --service-principal -u ${{ secrets.AZURE_CLIENT_ID }} -p ${{ secrets.AZURE_CLIENT_SECRET }} --tenant ${{ secrets.AZURE_TENANT_ID }}
az account set --subscription "${{ secrets.AZURE_SUBSCRIPTION_ID }}"

- name: Assign Contributor role to Service Principal
if: always()
Expand All @@ -208,7 +209,7 @@ jobs:
echo "Assigning Log Analytics Contributor role for Log Analytics workspace access at RG level..."
az role assignment create \
--assignee ${{ secrets.AZURE_CLIENT_ID }} \
--role "Log Analytics Contributor" \
--role "Log Analytics Reader" \
--scope /subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/resourceGroups/${{ env.RESOURCE_GROUP_NAME }} || echo "Log Analytics Contributor role assignment failed (may already exist)"

echo "Waiting for role assignment propagation..."
Expand Down Expand Up @@ -439,4 +440,4 @@ jobs:
if: always()
run: |
az logout
echo "Logged out from Azure."
echo "Logged out from Azure."
25 changes: 25 additions & 0 deletions docs/AVMPostDeploymentGuide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# AVM Post Deployment Guide

> **📋 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).

---

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).

## Pre-requisites

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)

## Next Steps

1. **Access the Application**

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.

2. **Add App Authentication**

If you chose to enable authentication for the deployment, follow the steps in [App Authentication](./AddAuthentication.md)

## Running the application

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.
1 change: 1 addition & 0 deletions scripts/checkquota.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ for REGION in "${REGIONS[@]}"; do

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

Expand Down
Loading