Skip to content

Azure AI deployment with OpenAI model - #5

Merged
NaKamize merged 1 commit into
mainfrom
feature/ai-agent-deploy
Jul 19, 2026
Merged

NaKamize merged 1 commit into
mainfrom
feature/ai-agent-deploy

Conversation

@NaKamize

Copy link
Copy Markdown
Owner

Deployed fastapi container to azure with openai model, updated azure infra for it, chroma changed from separate service to in-memory option which can run in azure

Deployed fastapi container to azure with openai model, updated azure infra for it, chroma changed from separate service to in-memory option which can run in azure
@github-actions

Copy link
Copy Markdown

Terraform Plan

Acquiring state lock. This may take a few moments...
data.azurerm_client_config.current: Reading...
azurerm_resource_group.resource_groups-ujmikamiapp20: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2]
azurerm_storage_container.containers-static0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.Storage/storageAccounts/ujmikamiblob/blobServices/default/containers/static]
azurerm_storage_container.containers-media0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.Storage/storageAccounts/ujmikamiblob/blobServices/default/containers/media]
data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD02MTc3MDA1NS03ODQ0LTQ5N2QtYWVhMC0yMzdmZmE3NjkxMWU7b2JqZWN0SWQ9NGMwY2Q2ZWYtODlhYi00OWY5LTkxODQtMWVlZDRhZmJiODY5O3N1YnNjcmlwdGlvbklkPWZmYWE1YTYzLWU2M2QtNDk4Zi05NzQ3LWMxZGVlZDYzNmVmNDt0ZW5hbnRJZD03YTgwZGM5OC01OWQwLTQ5ZmItOWE5ZS1jYzY0Y2I1MDQ3YWE=]
azurerm_log_analytics_workspace.workspaces-workspace_ujmikamiapp2_hm_um0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.OperationalInsights/workspaces/workspace-ujmikamiapp2HmUM]
azurerm_mysql_flexible_server.flexible_servers-ujmikami_db0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.DBforMySQL/flexibleServers/ujmikami-db]
azurerm_container_registry.registries-ujmikamiacr0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.ContainerRegistry/registries/ujmikamiacr]
azurerm_key_vault.main: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.KeyVault/vaults/ujmikami-kv]
azurerm_static_web_app.static_sites-ujmikamiapp0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.Web/staticSites/ujmikamiapp]
azurerm_cognitive_account.openai: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.CognitiveServices/accounts/ujmikami-openai]
azurerm_storage_account.storage_accounts-ujmikamiblob0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.Storage/storageAccounts/ujmikamiblob]
azurerm_mysql_flexible_server_firewall_rule.firewall_rules-allow_all_azure_services_and_resources_within_azure_ips_2026_7_5_19_1_10: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.DBforMySQL/flexibleServers/ujmikami-db/firewallRules/AllowAllAzureServicesAndResourcesWithinAzureIps_2026-7-5_19-1-1]
azurerm_mysql_flexible_database.databases-ujmikamiapp0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.DBforMySQL/flexibleServers/ujmikami-db/databases/ujmikamiapp]
azurerm_cognitive_deployment.chat_model: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.CognitiveServices/accounts/ujmikami-openai/deployments/gpt-5.4-mini]
azurerm_container_app_environment.managed_environments-ujmikamiapp_env_env0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.App/managedEnvironments/ujmikamiapp-env-env]
azurerm_role_assignment.terraform_secrets_officer["4c0cd6ef-89ab-49f9-9184-1eed4afbb869"]: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.KeyVault/vaults/ujmikami-kv/providers/Microsoft.Authorization/roleAssignments/da6c3fd4-9b49-72c7-bed4-f19935da8292]
azurerm_role_assignment.terraform_secrets_officer["5731fd27-fb2a-4dd3-b4b5-e709cb8980b0"]: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.KeyVault/vaults/ujmikami-kv/providers/Microsoft.Authorization/roleAssignments/6a8979f2-9884-97da-4059-ba60b792a1e4]
azurerm_container_app.fastapi_ai: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.App/containerApps/ujmikami-ai]
azurerm_key_vault_secret.django_secret_key: Refreshing state... [id=https://ujmikami-kv.vault.azure.net/secrets/django-secret-key/8db9ce346ed1411e94dd07c7d3214c5a]
azurerm_key_vault_secret.mysql_database_url: Refreshing state... [id=https://ujmikami-kv.vault.azure.net/secrets/mysql-database-url/73c79319b73e4e1e9d8baf09b5c32465]
azurerm_key_vault_secret.acr_admin_password: Refreshing state... [id=https://ujmikami-kv.vault.azure.net/secrets/acr-admin-password/071a5f4052f54993a8c7597df670ff9e]
azurerm_key_vault_secret.storage_account_key: Refreshing state... [id=https://ujmikami-kv.vault.azure.net/secrets/storage-account-key/cf572e5764a14d099ac3d99968ba800f]
azurerm_storage_account_queue_properties.queue_services-default0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.Storage/storageAccounts/ujmikamiblob]
azurerm_container_app.container_apps-ujmikamiapp_env0: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.App/containerApps/ujmikamiapp-env]
azurerm_role_assignment.container_app_secrets_user: Refreshing state... [id=/subscriptions/ffaa5a63-e63d-498f-9747-c1deed636ef4/resourceGroups/ujmikamiapp2/providers/Microsoft.KeyVault/vaults/ujmikami-kv/providers/Microsoft.Authorization/roleAssignments/72f1acc6-84c1-7de5-d970-4e60f6dad29b]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
Releasing state lock. This may take a few moments...

@NaKamize
NaKamize merged commit 811a7a0 into main Jul 19, 2026
9 checks passed
@NaKamize
NaKamize deleted the feature/ai-agent-deploy branch July 19, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant