Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
variables.tf 7.97 KiB
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: MIT-0
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this
 * software and associated documentation files (the "Software"), to deal in the Software
 * without restriction, including without limitation the rights to use, copy, modify,
 * merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

variable "metrics_server_enable" {
  type        = bool
  default     = true
  description = "Enabling metrics server on eks cluster"
}
variable "cluster_autoscaler_enable" {
  type        = bool
  default     = true
  description = "Enabling cluster autoscaler server on eks cluster"
}
variable "traefik_ingress_controller_enable" {
  type        = bool
  default     = false
  description = "Enabling Traefik Ingress on eks cluster"
}


variable "lb_ingress_controller_enable" {
  type        = bool
  default     = false
  description = "Enabling LB Ingress controller on eks cluster"
}

variable "nginx_ingress_controller_enable" {
  type        = bool
  default     = false
  description = "Enabling Nginx Ingress on eks cluster"
}

variable "aws_for_fluent_bit_enable" {
  type        = bool
  default     = false
  description = "Enabling aws_fluent_bit on eks cluster"
}

variable "fargate_fluent_bit_enable" {
  type        = bool
  default     = false
  description = "Enabling fargate_fluent_bit on eks cluster"
}

variable "s3_nlb_logs" {
  description = "S3 bucket for NLB Logs"
}

variable "eks_cluster_id" {
  description = "EKS cluster Id"
}

variable "ekslog_retention_in_days" {
  description = "Number of days to retain log events. Default retention - 90 days."
}

variable "public_docker_repo" {}

variable "eks_oidc_issuer_url" {}

variable "eks_oidc_provider_arn" {}

variable "agones_image_repo" {
  default = "gcr.io/agones-images"
}

variable "agones_image_tag" {
  default = "1.15.0"
}

variable "agones_helm_chart_name" {
  default = "agones"
}

variable "agones_helm_chart_url" {
  default = "https://agones.dev/chart/stable"
}

variable "agones_game_server_maxport" {
  default = 8000
}
variable "agones_game_server_minport" {
  default = 7000
}

variable "expose_udp" {
  default = false
}

variable "agones_enable" {
  type        = bool
  default     = false
  description = "Enabling agones on eks cluster"
}

variable "eks_security_group_id" {}

variable "aws_lb_image_repo_name" {
  default = "amazon/aws-load-balancer-controller"
}


variable "aws_lb_helm_repo_url" {
  default = "https://aws.github.io/eks-charts"
}

variable "aws_lb_helm_helm_chart_name" {
  default = "aws-load-balancer-controller"
}

variable "aws_lb_image_tag" {}

variable "aws_lb_helm_chart_version" {}

variable "metric_server_image_tag" {}

variable "metric_server_helm_chart_version" {}

variable "metric_server_helm_repo_url" {
  default = "https://charts.bitnami.com/bitnami"
}

variable "metric_server_image_repo_name" {
  default = "bitnami/metrics-server"
}

variable "metric_server_helm_chart_name" {
  default = "metrics-server"
}

variable "cluster_autoscaler_helm_repo_url" {
  default = "https://kubernetes.github.io/autoscaler"
}

variable "cluster_autoscaler_helm_chart_name" {
  default = "cluster-autoscaler"
}

variable "cluster_autoscaler_image_repo_name" {
  default = "k8s.gcr.io/autoscaling/cluster-autoscaler"
}

variable "cluster_autoscaler_image_tag" {}

variable "cluster_autoscaler_helm_version" {}

variable "prometheus_enable" {
  type        = bool
  default     = false
  description = "Enabling prometheus on eks cluster"
}

variable "private_container_repo_url" {}

variable "prometheus_helm_chart_url" {
  default = "https://prometheus-community.github.io/helm-charts"
}

variable "prometheus_helm_chart_name" {
  default = "prometheus"
}

variable "prometheus_helm_chart_version" {}

variable "prometheus_image_tag" {}

variable "alert_manager_image_tag" {}

variable "configmap_reload_image_tag" {}

variable "node_exporter_image_tag" {}

variable "pushgateway_image_tag" {}

variable "service_account_amp_ingest_name" {}

variable "amp_workspace_id" {}

variable "region" {}

variable "amp_ingest_role_arn" {}

variable "traefik_image_repo_name" {
  default = "traefik"
}

variable "traefik_helm_chart_name" {
  default = "traefik"
}

variable "traefik_helm_chart_url" {
  default = "https://helm.traefik.io/traefik"
}

variable "traefik_helm_chart_version" {}

variable "traefik_image_tag" {}

variable "nginx_image_repo_name" {
  default = "ingress-nginx/controller"
}

variable "nginx_helm_chart_url" {
  default = "https://kubernetes.github.io/ingress-nginx"
}
variable "nginx_helm_chart_name" {
  default = "ingress-nginx"
}

variable "nginx_helm_chart_version" {}

variable "nginx_image_tag" {}

variable "aws_for_fluent_bit_image_repo_name" {
  default = "amazon/aws-for-fluent-bit"
}

variable "aws_for_fluent_bit_helm_chart_url" {
  default = "https://aws.github.io/eks-charts"
}
variable "aws_for_fluent_bit_helm_chart_name" {
  default = "aws-for-fluent-bit"
}

variable "aws_for_fluent_bit_image_tag" {}

variable "aws_for_fluent_bit_helm_chart_version" {}

variable "cert_manager_enable" {
  type        = bool
  default     = false
  description = "Enabling Cert Manager Helm Chart installation"
}
variable "cert_manager_image_tag" {
  type        = string
  default     = "v1.5.3"
  description = "Docker image tag for cert-manager controller"
}
variable "cert_manager_helm_chart_version" {
  type        = string
  default     = "v1.5.3"
  description = "Helm chart version for cert-manager"
}
variable "cert_manager_install_crds" {
  type        = bool
  description = "Whether Cert Manager CRDs should be installed as part of the cert-manager Helm chart installation"
  default     = true
}

variable "cert_manager_helm_chart_url" {
  default = "https://charts.jetstack.io"
}

variable "cert_manager_helm_chart_name" {
  default = "cert-manager"
}

variable "cert_manager_image_repo_name" {
  default = "jetstack/cert-manager-controller"
}

variable "windows_vpc_controllers_enable" {
  type        = bool
  default     = false
  description = "Enabling Windows VPC Controllers Helm Chart installation"
}
variable "windows_vpc_resource_controller_image_tag" {
  type        = string
  default     = "v0.2.7"
  description = "Docker image tag for Windows VPC resource controller"
}
variable "windows_vpc_admission_webhook_image_tag" {
  type        = string
  default     = "v0.2.7"
  description = "Docker image tag for Windows VPC admission webhook controller"
}

variable "aws_open_telemetry_enable" {
}

variable "aws_open_telemetry_namespace" {
}

variable "aws_open_telemetry_emitter_image" {
}

variable "aws_open_telemetry_collector_image" {
}

variable "aws_open_telemetry_aws_region" {
}

variable "aws_open_telemetry_oltp_endpoint" {
}

variable "aws_open_telemetry_mg_node_iam_role_arns" {
}

variable "aws_open_telemetry_self_mg_node_iam_role_arns" {
}

variable "opentelemetry_enable" {
}

variable "opentelemetry_helm_chart_url" {}

variable "opentelemetry_image_tag" {}

variable "opentelemetry_image" {}

variable "opentelemetry_helm_chart_version" {}

variable "opentelemetry_helm_chart" {}

variable "opentelemetry_command_name" {}

variable "opentelemetry_min_standalone_collectors" {}

variable "opentelemetry_max_standalone_collectors" {}

variable "opentelemetry_enable_standalone_collector" {}

variable "opentelemetry_enable_agent_collector" {}

variable "opentelemetry_enable_autoscaling_standalone_collector" {}

variable "opentelemetry_enable_container_logs" {}