Files
The-transit-Project/.github/agents/azure-deploy/references/iac-resources.md
T
Sven laptop 635a130f0b
Build and Push Docker Images / detect-changes (push) Successful in 11s
Build and Push Docker Images / build-auth-api (push) Successful in 1m0s
Build and Push Docker Images / build-employee-api (push) Successful in 1m2s
Build and Push Docker Images / build-transit-api (push) Successful in 1m1s
Build and Push Docker Images / build-error-log-api (push) Successful in 1m5s
Build and Push Docker Images / build-admin-ui (push) Successful in 1m13s
Build and Push Docker Images / build-monitoring-ui (push) Successful in 1m15s
Build and Push Docker Images / deploy-test-node (push) Successful in 3s
──────
### Summary of Changes
  1. Documentation Consolidation:
      • Relocated the docs/ folder and all repository .md files (README.md, DEPLOYMENT.md, DOCKER_README.md,
      DOMAINS_README.md, GETTING_STARTED.md, CI_CD_PORTAINER_GUIDE.md, ADMIN_DEPLOYMENT_SUMMARY.md,
      SECURITY_PRIVATE_FILES.md, handoff.md, azure-project-plan.md, plus service-specific READMEs) into .
      • Updated document links in README.md.
  2. AI Agent Project Map:
      • Created PROJECT_MAP.md in the project root containing complete architecture diagrams, service specs, ports, DB
      schemas, environment variables, and developer workflows.
      • Added PROJECT_MAP.md to .gitignore.
  3. Monitoring UI & Infrastructure Integration:
      • Added monitoring_ui service to docker-compose.yml (port 5175).
      • Configured Gitea workflow docker-build.yml for monitoring_ui builds.
      • Added CORS middleware headers in index.js.
      • Added nginx.conf copy step in Dockerfile.

  ──────
  ### Recommended Commit Message

    docs: consolidate project documentation into monitoring_ui and add agent project map

    - Move all markdown documentation files and docs/ folder into monitoring_ui/docs/
    - Update documentation hub index (monitoring_ui/docs/README.md) with relative paths
    - Generate comprehensive AI agent reference map (PROJECT_MAP.md) in repository root
    - Add PROJECT_MAP.md and monitoring_ui build output/env overrides to .gitignore
    - Integrate monitoring_ui service into docker-compose.yml and Gitea CI workflow
    - Configure CORS handling in employee_api for monitoring dashboard access
    ──────
  ### Alternative Short Commit Message

    refactor(docs): move docs to monitoring_ui and create AI agent PROJECT_MAP.md
2026-09-20 23:33:55 +02:00

3.0 KiB

Important: This skill provides guidance and recommended instructions to assist the AI system. Outputs are not guaranteed to be complete, correct, secure, or applicable to every scenario. Results should be reviewed and validated by a human before being applied. The AI model may choose not to follow all instructions exactly, and additional verification may be required.

IaC Resources — Official Documentation & Tools

Look up when stuck after 3 tries, edge cases, or validating generated code against ground truth.

Bicep

Resource URL Use When
Bicep Documentation https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/ Syntax, file structure, deployment scopes, install
Azure Resource Reference https://learn.microsoft.com/en-us/azure/templates/ Resource properties, API versions, schema per type

Terraform

Resource URL Use When
Terraform Registry — azurerm https://registry.terraform.io/providers/hashicorp/azurerm/latest Resource type properties, argument reference, import blocks
Terraform Registry — azapi https://registry.terraform.io/providers/azure/azapi/latest Preview resources not yet in azurerm; maps to ARM REST APIs

Validation Tools

Tool Format Purpose
bicep build Bicep Syntax + schema validation
az deployment group create --what-if Bicep ARM-level dry run with change preview
terraform validate Terraform Syntax + schema validation
terraform plan Terraform Provider-level dry run

Deploy Troubleshooting

⛔ Primary lookup path: Call mcp_azure_mcp_documentation with the error message first. Use the table below as fallback when MCP is unavailable or returns no results.

On repeat failures (same error 2+ consecutive attempts): fetch_webpage the matching URL below with the error message as query. Apply the documented fix — do not retry the same approach.

Resource URL Use When
Common ARM Deployment Errors https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errors InvalidTemplateDeployment, SkuNotAvailable, QuotaExceeded, any ARM error code
App Service Troubleshooting https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/ Startup crashes, Kudu/Oryx build failures, health probe issues
App Service Zip Deploy Guide https://learn.microsoft.com/en-us/azure/app-service/deploy-zip Zip deploy, SCM_DO_BUILD_DURING_DEPLOYMENT, Kudu publish API
Container Apps Troubleshooting https://learn.microsoft.com/en-us/azure/container-apps/troubleshooting Revision failures, ingress errors, secret resolution, image pull failures
Quota Increase Portal https://portal.azure.com/#blade/Microsoft_Azure_Capacity/QuotaMenuBlade/myQuotas Direct link for quota increase requests

Source: Official Microsoft Learn, HashiCorp Developer, and Azure documentation.