avm-res-app-containerapp
Azure/avm-res-app-containerapp/azurerm
Terraform Azure Verified Resource Module for Container App
terraform-azurerm-avm-res-app-containerapp This is a template repo for Terraform Azure Verified Container App Modules. This module DOES NOT contain other Container App related resource, including azurerm_container_app_environment. Requirements The following requirements are needed by this module: - terraform (~> 1.11) - azapi (~> 2.5) - modtm (~> 0.3) - random (~> 3.0) Resources The following resources are used by this module: - azapi_resource.auth_config (resource) - azapi_resource.container_app (resource) - azapi_resource.lock (resource) - azapi_resource.role_assignments (resource) - azapi_resource_action.post_creation_update (resource) - modtm_telemetry.telemetry (resource) - random_uuid.telemetry (resource) - terraform_data.update_keeper (resource) - azapi_client_config.current (data s
| Name | Type | Description | Default |
|---|---|---|---|
| template | object({ cooldown_period = | - `cooldown_period` - (Optional) The cooldown period in seconds after a scaling | required |
| container_app_environment_resource_id | string | The ID of the Container App Environment to host this Container App. | required |
| resource_group_name | string | (Required) The name of the resource group in which the Container App Environment | required |
| name | string | The name of the Container App. | required |
| auth_configs | map(object({ name = string | - `name` - (Required) Name of the Container App AuthConfig. --- `platform` The | {} |
| max_inactive_revisions | number | (Optional). Max inactive revisions a Container App can have. | 0 |
| registries | list(object({ identity | - `identity` - (Optional) Resource ID for the User Assigned Managed identity to | null |
| revision_mode | string | (Required) The revisions operational mode for the Container App. Possible values | "Single" |
| service | object({ type = string } | Service configuration for the Container App. --- `service` block supports the f | null |
| tags | map(string) | Custom tags to apply to the resource. | null |
| timeouts | object({ create = optional | - `create` - (Defaults to 30 minutes) Used when creating the Container App. Defa | null |
| dapr | object({ app_id | - `app_id` - (Optional) The Dapr Application Identifier. - `app_port` - (Optiona | null |
| ingress | object({ allow_insecure_co | This object defines the ingress properties for the container app: - `allow_ins | null |
| lock | object({ kind = string | Controls the Resource Lock configuration for this resource. The following prop | null |
| managed_identities | object({ system_assigned | Configurations for managed identities in Azure. This variable allows you to spec | {} |
| role_assignments | map(object({ role_definiti | A map of role assignments to create on the <RESOURCE>. The map key is delibera | {} |
| workload_profile_name | string | Workload profile name to pin for container app execution. If not set, workload | null |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
| kind | string | Metadata used to render different experiences for resources of the same type; e. | null |
| secrets | map(object({ identity | - `key_vault_secret_id` - (Optional) The URL of the Azure Key Vault containing | null |
| identity_settings | list(object({ identity = | A list of identity settings for the Container App. --- `identity_settings` bloc | null |
| location | string | Azure region where the resource should be deployed. If null, the location will b | null |
| resource_group_id | string | (Optional) The id of the resource group in which the Container App Environment i | null |
| runtime | object({ java = optional(o | Runtime configuration for the Container App. --- `runtime` block supports the f | null |
identity — The identities assigned to the Container App.location — The Azure Region where the Container App is located.name — The name of the Container App.outbound_ip_addresses — The outbound IP addresses of the Container App.fqdn_url — https url that contains ingress's fqdn, could be used to access the deployed app.latest_ready_revision_name — The name of the latest ready revision of the Container App.latest_revision_fqdn — The FQDN of the latest revision of the Container App.latest_revision_name — The name of the latest revision of the Container App.resource_id — Resource ID of container app resource created by this module.custom_domain_verification_id — The custom domain verification ID for the Container App.custom_domains — The custom domains configured for the Container App.environment_id — The ID of the Container App Environment.