Azure Container Apps
Deploys a hardened Azure Container Apps instance with WAF-aligned security defaults.
Summary
Environment for hosting Azure Container Apps.
| Property |
Value |
| Owner |
platform-team |
| Support |
Support |
| Version |
2.0.0 |
Resource Types
| Resource Type |
Microsoft.App/containerApps |
Usage
module apps 'br:geitbicepmodweucr01.azurecr.io/bicep/modules/container-apps/apps:2.0.0' = {
name: 'apps'
params: {
// Required parameters
par_container_app_environment_id: <string>
par_container_app_name: <string>
par_location_name: <string>
}
}
Parameters
| Name |
Type |
Description |
Default |
par_active_revisions_mode |
string |
|
Single |
par_container_app_environment_id |
string |
|
required |
par_container_app_name |
string |
|
required |
par_container_args |
array |
|
`` |
par_container_command |
array |
|
`` |
par_container_cpu |
int |
|
0 |
par_container_environment_variables |
array |
|
`` |
par_container_image |
string |
|
`` |
par_container_memory |
string |
|
`` |
par_container_name |
string |
|
`` |
par_container_probes |
array |
|
`` |
par_container_volume_mounts |
array |
|
`` |
par_custom_domain_binding_type |
string |
Custom domain name to be used with the container app |
Auto |
par_custom_domain_certificate_id |
string |
Custom domain certificate resource ID to be used with the container app |
`` |
par_custom_domain_enabled |
bool |
Bool indicating if custom domain is enabled for the container app |
False |
par_custom_domain_name |
string |
Custom domain name to be used with the container app |
`` |
par_ingress_cors_allow_credentials |
bool |
|
False |
par_ingress_cors_allowed_headers |
array |
|
`` |
par_ingress_cors_allowed_methods |
array |
|
`` |
par_ingress_cors_allowed_origins |
array |
|
`` |
par_ingress_cors_expose_headers |
array |
|
`` |
par_ingress_enabled |
bool |
Bool indicating if app exposes an external http endpoint |
False |
par_ingress_exposed_port |
int |
|
-1 |
par_ingress_external |
bool |
Bool indicating if app exposes an external http endpoint |
True |
par_ingress_target_allow_in_secure |
bool |
Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections |
False |
par_ingress_target_port |
int |
Target Port in containers for traffic from ingress |
80 |
par_ingress_target_transport |
string |
Ingress transport protocol |
auto |
par_location_name |
string |
|
required |
par_max_replicas |
int |
|
0 |
par_min_replicas |
int |
|
0 |
par_registries |
array |
|
`` |
par_scale_rules |
array |
Azure containers apps scale rules |
`` |
par_secrets |
array |
|
`` |
par_System_Managed_Identity |
bool |
Assign a system-assigned managed identity to the container app. On by default. |
True |
par_tags |
object |
Tags to be applied to all resources |
`` |
par_volumes |
array |
|
`` |
Outputs
| Name |
Type |
Description |
out_container_app_id |
string |
The resource ID of the container app. |
out_fqdn |
string |
The FQDN of the container app. If ingress is disabled, this will be an empty string. |
Versions
Pin an exact version. Ranges are not supported.
| Version |
Reference |
2.0.0 (latest) |
br/Euvic-Modules:container-apps/apps:2.0.0 |
1.0.0 |
br/Euvic-Modules:container-apps/apps:1.0.0 |