- Add comprehensive naming convention (provider-region-resource-env-purpose) - Implement Terraform locals for centralized naming - Update all Terraform resources to use new naming convention - Create deployment automation framework (18 phase scripts) - Add Azure setup scripts (provider registration, quota checks) - Update deployment scripts config with naming functions - Create complete deployment documentation (guide, steps, quick reference) - Add frontend portal implementations (public and internal) - Add UI component library (18 components) - Enhance Entra VerifiedID integration with file utilities - Add API client package for all services - Create comprehensive documentation (naming, deployment, next steps) Infrastructure: - Resource groups, storage accounts with new naming - Terraform configuration updates - Outputs with naming convention examples Deployment: - Automated deployment scripts for all 15 phases - State management and logging - Error handling and validation Documentation: - Naming convention guide and implementation summary - Complete deployment guide (296 steps) - Next steps and quick start guides - Azure prerequisites and setup completion docs Note: ESLint warnings present - will be addressed in follow-up commit
2.8 KiB
2.8 KiB
Azure Setup Scripts
This directory contains scripts for setting up Azure infrastructure prerequisites for The Order.
Scripts
1. azure-setup.sh - Complete Azure Setup
Comprehensive setup script that:
- Lists all available Azure Commercial regions (excluding US)
- Sets default region to West Europe
- Checks and registers required resource providers
- Checks quotas for primary regions
- Generates reports
Usage:
./infra/scripts/azure-setup.sh
Output Files:
azure-regions.txt- List of all non-US regionsazure-quotas.txt- Quota information for primary regions
2. azure-register-providers.sh - Register Resource Providers
Registers all required Azure Resource Providers for The Order.
Usage:
./infra/scripts/azure-register-providers.sh
What it does:
- Checks registration status of all required providers
- Registers unregistered providers
- Waits for registration to complete
- Reports final status
3. azure-check-quotas.sh - Check Quotas for All Regions
Checks quotas for all non-US Azure regions.
Usage:
./infra/scripts/azure-check-quotas.sh
Output:
azure-quotas-all-regions.txt- Detailed quota information for all regions
Prerequisites
-
Azure CLI installed
# Check if installed az --version # Install if needed # https://docs.microsoft.com/en-us/cli/azure/install-azure-cli -
Azure CLI logged in
az login az account show -
Required permissions
- Subscription Contributor or Owner role
- Ability to register resource providers
- Ability to check quotas
Quick Start
-
Login to Azure
az login -
Run complete setup
./infra/scripts/azure-setup.sh -
Verify providers are registered
./infra/scripts/azure-register-providers.sh -
Check quotas
./infra/scripts/azure-check-quotas.sh
Required Resource Providers
See infra/terraform/AZURE_RESOURCE_PROVIDERS.md for complete list.
Default Region
West Europe (westeurope) is the default region. US Commercial and Government regions are not used.
Troubleshooting
Script fails with "not logged in"
az login
az account set --subscription <subscription-id>
Provider registration fails
- Check subscription permissions
- Verify subscription is active
- Wait 5-10 minutes and retry
Quota check fails
- Some regions may not support all quota types
- Check individual regions manually if needed
Output Files
All scripts generate output files in the current directory:
azure-regions.txt- List of available regionsazure-quotas.txt- Quotas for primary regionsazure-quotas-all-regions.txt- Quotas for all regions
Review these files to understand available resources and limits.