Skip to content

compute/container_app_environment

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurecaf_name.cae["azurecaf_name.cae"] azurerm_container_app_environment.cae["azurerm_container_app_environment.cae"] azurerm_container_app_environment.cae --> azurecaf_name.cae

Module Reference

Category: compute
Path: modules/compute/container_app_environment
Azure Resources: azurecaf_name, azurerm_container_app_environment

Inputs

Name Description Type Required Default Validation
"base_tags" "Base tags for the resource to be inherited from the resource group." bool yes - -
"client_config" "Client configuration object (see module README.md)." any yes - -
"diagnostics" any yes - -
"diagnostic_profiles" any yes - -
"combined_diagnostics" any yes - -
"combined_resources" "Provide a map of combined resources for environment_variables_from_resources" any no {} -
"global_settings" any yes - -
"location" any yes - -
"resource_group_name" any yes - -
"resource_group" "Resource group object to deploy the Azure resource" any yes - -
"settings" "The settings for the Azure resource." any yes - -
"subnet_id" any yes - -

Outputs

Name Description Sensitive Value
"id" - azurerm_container_app_environment.cae.id
"default_domain" - azurerm_container_app_environment.cae.default_domain
"docker_bridge_cidr" - try(var.settings.infrastructure_subnet_id, null) != null ? azurerm_container_app_environment.cae.docker_bridge_cidr : null
"platform_reserved_cidr" - try(var.settings.infrastructure_subnet_id, null) != null ? azurerm_container_app_environment.cae.platform_reserved_cidr : null
"platform_reserved_dns_ip_address" - try(var.settings.infrastructure_subnet_id, null) != null ? azurerm_container_app_environment.cae.platform_reserved_dns_ip_address : null
"static_ip_address" - try(var.settings.internal_load_balancer_enabled, false) == true ? azurerm_container_app_environment.cae.static_ip_address : null

Sources

  • modules/compute/container_app_environment/container_app_environment.tf
  • modules/compute/container_app_environment/locals.tf
  • modules/compute/container_app_environment/main.tf
  • modules/compute/container_app_environment/outputs.tf
  • modules/compute/container_app_environment/variables.tf