terraform/quickstart/101-ai-studio
github-actions[bot] 2bfc5cfbf2 Update TestRecord 2024-11-17 03:48:00 +00:00
..
README.md updated outputs and variables used 2024-07-10 11:44:01 -04:00
TestRecord.md Update TestRecord 2024-11-17 03:48:00 +00:00
main.tf matching contributor guidelines 2024-06-21 12:29:29 -04:00
outputs.tf updated outputs and variables used 2024-07-10 11:44:01 -04:00
providers.tf matching contributor guidelines 2024-06-21 12:29:29 -04:00
variables.tf matching contributor guidelines 2024-06-21 12:29:29 -04:00

README.md

Azure AI Studio

This deployment configuration specifies an Azure AI hub, and its associated resources including Azure Key Vault, Azure Storage. You can optionally provision and attach Azure Application Insights and Azure Container Registry.

This configuration describes the minimal set of resources you require to get started with Azure AI Studio.

Resources

Terraform Resource Type Description
azurerm_resource_group The resource group all resources get deployed into.
azurerm_key_vault An Azure Key Vault instance associated to the Azure Machine Learning workspace.
azurerm_storage_account An Azure Storage instance associated to the Azure Machine Learning workspace.
azurerm_application_insights An Azure Application Insights instance associated to the Azure Machine Learning workspace.
azurerm_container_registry An Azure Container Registry instance associated to the Azure Machine Learning workspace.

Variables

Name Description Default
resource_group_name_prefix Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. rg
resource_group_location Location of the resource group. eastus
prefix This variable is used to name the hub, project, and dependent resources. ai
sku The SKU for AI Services resources S0

Usage

After git cloning the repo, run the following commands after having docker running on your machine.

terraform init

az login 

terraform plan -out demo.tfplan

terraform apply "demo.tfplan"

Common mistakes

  1. Make sure docker is running
  2. Make sure to have logged into your Azure Subscription by running az login.
  3. Ensure that you have the correct RBAC permissions for in your subscription, hub, and project.