Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
variables.tf 1.96 KiB
Newer Older
  • Learn to ignore specific revisions
  • /*
     * 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 "helm_config" {
    
    Kevin Coleman's avatar
    Kevin Coleman committed
      description = "Helm provider config for the aws_load_balancer_controller."
    
    variable "eks_cluster_id" {
      type        = string
      description = "EKS cluster Id"
    
    variable "manage_via_gitops" {
      type        = bool
      default     = false
      description = "Determines if the add-on should be managed via GitOps."
    }
    
    variable "irsa_iam_permissions_boundary" {
      type        = string
      default     = ""
      description = "IAM Policy ARN for IRSA IAM role permissions boundary"
    }
    
    variable "addon_context" {
    
      type = object({
    
        aws_caller_identity_account_id = string
        aws_caller_identity_arn        = string
        aws_eks_cluster_endpoint       = string
    
        aws_partition_id               = string
    
        aws_region_name                = string
        eks_oidc_issuer_url            = string
        eks_oidc_provider_arn          = string
        tags                           = map(string)
    
      description = "Input configuration for the addon"