Azure CLI initialization and subscription setup required before Terraform deployments.
[!NOTE] Part of the Deployment Guide. Return there for navigation and deployment order.
| Script | Purpose |
|---|---|
az-sub-init.sh |
Azure login and ARM_SUBSCRIPTION_ID export |
register-azure-providers.sh |
Register required Azure resource providers |
Source the initialization script to set ARM_SUBSCRIPTION_ID for Terraform:
source az-sub-init.sh
For a specific tenant:
source az-sub-init.sh --tenant your-tenant.onmicrosoft.com
For new Azure subscriptions or subscriptions that haven’t deployed AKS, AzureML, or similar resources, register the required providers:
./register-azure-providers.sh
The script reads providers from robotics-azure-resource-providers.txt and waits for registration to complete. This is a one-time operation per subscription.
ARM_SUBSCRIPTION_ID to current shellThe subscription ID is required by Terraform’s Azure provider when not running in a managed identity context.
robotics-azure-resource-providers.txtRegistered stateAfter initialization, proceed to Infrastructure Deployment to deploy Azure resources.
🤖 Crafted with precision by ✨Copilot following brilliant human instruction, then carefully refined by our team of discerning human reviewers.