modules/container-app-job/variables.tf (74 lines of code) (raw):

variable "container_app_environment_id" { type = string description = "The resource id of the Container App Environment." } variable "environment_variables" { type = set(object({ name = string value = string })) description = "List of environment variables to pass to the container." } variable "keda_meta_data" { type = map(string) description = "The metadata for the KEDA scaler." } variable "keda_rule_type" { type = string description = "The type of the KEDA rule." } variable "location" { type = string description = "Azure region where the resource should be deployed." nullable = false } variable "postfix" { type = string description = "Postfix used for naming the resources where the name isn't supplied." validation { condition = length(var.postfix) <= 20 error_message = "Variable 'name' must be less than 20 characters due to container app job naming restrictions. '${var.postfix}' is ${length(var.postfix)} characters." } } variable "registry_login_server" { type = string description = "The login server of the container registry." } variable "resource_group_id" { type = string description = "The id of the resource group where the resources will be deployed." } variable "sensitive_environment_variables" { type = set(object({ name = string value = string container_app_secret_name = string keda_auth_name = optional(string) })) description = "List of sensitive environment variables to pass to the container." sensitive = true } variable "user_assigned_managed_identity_id" { type = string description = "The resource Id of the user assigned managed identity." } variable "environment_variables_placeholder" { type = set(object({ name = string value = string })) default = [] description = "List of environment variables to pass only to the placeholder container." nullable = false } variable "registry_password" { type = string default = null description = "Password of the container registry." sensitive = true } variable "registry_username" { type = string default = null description = "Name of the container registry." }