dymaxionlabs/Deploy to Azure Container Apps

Update an Azure Container App with a new image and environment variables. Authentication and image building should be handled separately.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
container_app_nameName of the Azure Container App or Container App Jobyes
resource_groupAzure Resource Group containing the Container Appyes
imageFull container image name with tag (e.g., myregistry.azurecr.io/myapp:v1.0.0)yes
container_nameName of the container within the Container App (defaults to app name)no""
resource_typeType of resource: 'app' for Container App or 'job' for Container App Jobnoapp
env_varsEnvironment variables in KEY=value format (one per line)no""
secretsSecrets in KEY=value format (one per line). Will be set as environment variables.no""
secrets_jsonSecrets as JSON object (e.g., using toJSON(secrets)). Will be set as environment variables.no""
keyvault_secretsAzure Key Vault secret references in KEY=VAULT_URL/secrets/SECRET_NAME format (one per line). Requires managed identity with Key Vault access.no""
managed_identityManaged identity resource ID to use for Key Vault access (required if using keyvault_secrets). Use 'system' for system-assigned identity.no""
remove_all_env_varsRemove all existing environment variables before setting new onesnofalse
cpuCPU cores (e.g., '0.5', '1.0', '2.0')no""
memoryMemory in Gi (e.g., '1.0Gi', '2.0Gi')no""
min_replicasMinimum number of replicasno""
max_replicasMaximum number of replicasno""
commandCommand to run for Container App Jobs (e.g., '/app/entrypoint.sh')no""
argsArguments for the command (space-separated, e.g., 'python ./manage.py execute_jobrun')no""
replica_timeoutTimeout for job replicas in seconds (Container App Jobs only)no""
replica_retry_limitRetry limit for failed job replicas (Container App Jobs only)no""
namedescription
fqdnFully qualified domain name of the Container App
urlFull URL of the Container App (https://fqdn)