Now that your Codespace/Dev Container and ENV files are configured, it is time to deploy the Azure resources. This is done using a Makefile
.
To deploy everything run the following command from the Codespace/Dev Container prompt:
make deploy
This will deploy the infrastructure and the application code.
This command can be run as many times as needed in the event you encounter any errors. A set of known issues and their workarounds that we have found can be found in Known Issues
For a full set of Makefile rules, run make help
.
vscode ➜ /workspaces/<accelerator> (main ✗) $ make help
help Show this help
deploy Deploy infrastructure and application code
build Build application code
infrastructure Deploy infrastructure
extract-env Extract infrastructure.env file from Terraform output
deploy-webapp Deploys the web app code to Azure App Service
deploy-functions Deploys the function code to Azure Function Host
deploy-enrichments Deploys the web app code to Azure App Service
deploy-search-indexes Deploy search indexes
extract-env-debug-webapp Extract infrastructure.debug.env file from Terraform output
extract-env-debug-functions Extract local.settings.json to debug functions from Terraform output
functional-tests Run functional tests to check the processing pipeline is working
merge-databases Upgrade from bicep to terraform
import-state import state of current services to TF state
prep-upgrade Command to merge databases and import TF state in prep for an upgrade from 1.0 to 1.n
prep-env Apply role assignments as needed to upgrade
prep-migration-env Prepare the environment for migration by assigning required roles
run-data-migration Run the data migration moving data from one resource group to another
manual-inf-destroy A command triggered by a user to destroy a resource group, associated resources, and related Entra items
If you have chosen to enable authentication and authorization for your deployment by setting the environment variable REQUIRE_WEBSITE_SECURITY_MEMBERSHIP
to true
, you will need to configure it at this point. Please see Known Issues section for guidance on how to configure.
NOTICE: If you haven't enabled this, but your Tenant requires this, you may still need to configure as noted above.
Once deployed, you can find the URL of your installation by:
-
Browse to your new Resource Group at https://portal.azure.com and locate the "App Service"
-
After clicking on the App Service, you will see the "Default domain" listed. This is the link to your installation.
At this point deployment is complete. Please follow the instructions for using the IA agent template for the first time.