Packages

Arke project generator. Provides a `mix arke.new` task to bootstrap a new Elixir application with Arke dependencies.

Current section

Files

Jump to
arke_new templates terraform modules frontend variables.tf
Raw

templates/terraform/modules/frontend/variables.tf

variable "namespace" {
type = string
description = "The name of the k8s namespace"
}
variable "container_image" {
type = object({ image = string
image_pull_policy = string })
}
variable "hosts" {
type = list(string)
description = "A list containing all the hosts for the frontend module. The www.host.domain will be added automatically. Each value is equivalent to an ingress with two rules."
}
variable "image_pull_secret" {
type = string
description = "K8s secret name used to pull the image from the registry"
}
variable "replicas" {
type = number
default = 1
description = "Numbers of pod replicas"
}
variable "port" {
description = "The port exposed by the container image. It will also be used to expose the service and the ingress in order to define a standard"
type = number
}
variable "name" {
description = "The name will be used to compose: ingresses,secrets, services and deployments. They will be as follows for the secrets: var.name-secret_name and for the others: var.name-frontend"
type = string
}