/terraform-azurerm-container_app_environment

Terraform module creates Azure container app environment(s)

Primary LanguageHCLApache License 2.0Apache-2.0

Container app environment

Changelog Notice Apache V2 License TF Registry

Usage - Module

Container app environment

module "container_app_environment" {
  source  = "sironite/container_app_environment/azurerm"
  version = "x.x.x"

  container_app_environment_name = var.container_app_environment_name
  azure_location                 = var.azure_location
  resource_group_name            = var.resource_group_name

  log_analytics_workspace_id = var.log_analytics_workspace_id

  infrastructure_subnet_id       = var.infrastructure_subnet_id
  internal_load_balancer_enabled = var.internal_load_balancer_enabled

  tags = var.container_app_environment_tags
}

Providers

Name Version
azurerm >=3.43.0

Modules

Name Source Version
azurerm_container_app_environment_certificate ./modules/terraform-azurerm-container_app_environment_certificate n/a
azurerm_container_app_environment_dapr_component ./modules/terraform-azurerm-container_app_environment_dapr_component n/a
azurerm_container_app_environment_storage ./modules/terraform-azurerm-container_app_environment_storage n/a

Resources

Name Type
azurerm_container_app_environment.this resource

Inputs

Name Description Type Required
azure_location The location/region where the virtual network is created. Changing this forces a new resource to be created. string yes
container_app_environment_name The name of the Container Apps Managed Environment. Changing this forces a new resource to be created. string yes
log_analytics_workspace_id The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. Changing this forces a new resource to be created. string yes
resource_group_name The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created. string yes
certificate_blob_base64 The base64-encoded certificate blob. Changing this forces a new resource to be created. string no
certificate_password The password for the certificate. Changing this forces a new resource to be created. string no
container_app_environment_certificate_name The name of the Container App Environment Certificate. Changing this forces a new resource to be created. string no
container_app_environment_dapr_component The component for the Container App Environment Dapr. Changing this forces a new resource to be created. string no
container_app_environment_dapr_name The name of the Container App Environment Dapr. Changing this forces a new resource to be created. string no
container_app_environment_dapr_version The version for the Container App Environment Dapr. Changing this forces a new resource to be created. string no
container_app_environment_storage_name The name of the Container App Environment Storage. Changing this forces a new resource to be created. string no
container_app_environment_tags A mapping of tags to assign to the resource. map(any) no
infrastructure_subnet_id The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created. string no
internal_load_balancer_enabled Should the Container Environment operate in Internal Load Balancing Mode? Defaults to false. Changing this forces a new resource to be created. bool no
storage_access_mode The access mode for the storage account. Changing this forces a new resource to be created. string no
storage_account_access_key The access key for the storage account. Changing this forces a new resource to be created. string no
storage_account_name The name of the storage account. Changing this forces a new resource to be created. string no
storage_share_name The name of the storage share. Changing this forces a new resource to be created. string no

Outputs

Name Description
container_app_environment_default_domain he default, publicly resolvable, name of this Container App Environment.
container_app_environment_docker_bridge_cidr The network addressing in which the Container Apps in this Container App Environment will reside in CIDR notation.
container_app_environment_id The ID of the Container App Environment
container_app_environment_platform_reserved_cidr The IP range, in CIDR notation, that is reserved for environment infrastructure IP addresses.
container_app_environment_platform_reserved_dns_ip_address The IP address from the IP range defined by platform_reserved_cidr that is reserved for the internal DNS server.
container_app_environment_static_ip_address The Static IP of the Environment.

Related documentation