Habilidades azd-deployment
📦

azd-deployment

Seguro ⚙️ Comandos externos🌐 Acceso a red📁 Acceso al sistema de archivos

Deploy to Azure Container Apps with azd

This skill provides documentation and reference examples for deploying containerized applications to Azure Container Apps using Azure Developer CLI (azd) and Bicep infrastructure templates.

Soporta: Claude Codex Code(CC)
🥉 75 Bronce
1

Descargar el ZIP de la skill

2

Subir en Claude

Ve a Configuración → Capacidades → Skills → Subir skill

3

Activa y empieza a usar

Pruébalo

Usando "azd-deployment". How do I deploy a container app with azd?

Resultado esperado:

Run: azd auth login, azd init, azd env new <env-name>, azd up. The azure.yaml defines services with host: containerapp and remoteBuild: true for Azure-based builds.

Usando "azd-deployment". What is the azure.yaml structure?

Resultado esperado:

Define services with project path, language (ts, python, etc.), host: containerapp, and docker config. Use infra.provider: bicep for infrastructure. Add hooks for preprovision, postprovision, postdeploy actions.

Auditoría de seguridad

Seguro
v1 • 2/24/2026

This skill is legitimate DevOps documentation for Azure Container Apps deployment. All detected patterns (external commands, network, filesystem) are standard Azure CLI operations used in deployment workflows. The heuristic alerts about credential access and command execution are false positives - the skill contains only documentation and example configurations, not actual credential handling or malicious code.

1
Archivos escaneados
302
Líneas analizadas
3
hallazgos
1
Auditorías totales

Factores de riesgo

Auditado por: claude

Puntuación de calidad

38
Arquitectura
100
Mantenibilidad
87
Contenido
50
Comunidad
100
Seguridad
100
Cumplimiento de la especificación

Lo que puedes crear

Set up new azd project

Initialize a new Azure Developer CLI project with proper azure.yaml configuration for container apps deployment

Configure Bicep infrastructure

Create reusable Bicep modules for container apps environment, with outputs that auto-populate environment variables

Implement CI/CD hooks

Add preprovision, postprovision, and postdeploy hooks for RBAC assignments and custom domain handling

Prueba estos prompts

Basic azd setup
Show me how to initialize a new azd project for deploying to Azure Container Apps with a Python backend.
Configure azure.yaml
Create an azure.yaml configuration for a TypeScript frontend and Python backend deployed to container apps with remote builds enabled.
Bicep outputs to env vars
How do I configure Bicep outputs so they automatically populate environment variables in the .azure folder?
Managed identity RBAC
Show me how to assign RBAC roles to a container app managed identity for Azure OpenAI and AI Search access using postprovision hooks.

Mejores prácticas

  • Always use remoteBuild: true in azure.yaml to avoid AMD64/M1 architecture mismatch
  • Use azd env set for secrets instead of hardcoding in main.parameters.json
  • Add || true to RBAC hook commands to prevent failures when roles already exist

Evitar

  • Using local build instead of remoteBuild will fail on ARM Macs deploying to AMD64 Azure
  • Manually editing .azure/<env>/.env files - these are auto-populated by Bicep outputs
  • Skipping the resourceToken in internal DNS names - required for unique service discovery

Preguntas frecuentes

What is Azure Developer CLI (azd)?
Azure Developer CLI (azd) is an open-source tool that provides a developer-friendly way to provision and deploy Azure applications. It uses azure.yaml for configuration and Bicep for infrastructure.
Why use remoteBuild instead of local builds?
RemoteBuild builds your Docker images in Azure Container Registry. This avoids architecture mismatch issues when developing on ARM Macs (M1/M2) and deploying to AMD64 Azure Container Apps.
How do environment variables flow from Bicep to my app?
Bicep output statements auto-populate the .azure/<env>/.env file. Define outputs like 'output SERVICE_BACKEND_URI string = backend.outputs.uri' in your Bicep code.
Can I preserve custom domains added via Azure Portal?
Yes, use preprovision hooks to save customDomains before provisioning, then restore them in postprovision. Set customDomains to null in Bicep to preserve Portal-added domains.
How do I assign RBAC roles to my container app?
Enable SystemAssigned identity in your Bicep, capture the principalId in outputs, then use postprovision hooks with 'az role assignment create' commands.
Is this skill safe to use with Claude Code?
Yes. This is documentation-only - it provides reference examples for Azure deployment patterns. No actual credentials or deployment operations are performed.

Detalles del desarrollador

Estructura de archivos

📄 SKILL.md