agones.dev/agones@v1.53.0/install/terraform/modules/eks/outputs.tf (about)

     1  # Copyright 2020 Google LLC All Rights Reserved.
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  output "cluster_endpoint" {
    15    description = "Endpoint for EKS control plane."
    16    value       = module.eks.cluster_endpoint
    17  }
    18  
    19  output "cluster_security_group_id" {
    20    description = "Security group ids attached to the cluster control plane."
    21    value       = module.eks.cluster_security_group_id
    22  }
    23  
    24  output "kubectl_config" {
    25    description = "kubectl config as generated by the module."
    26    value       = module.eks.kubeconfig
    27  }
    28  
    29  output "config_map_aws_auth" {
    30    description = "A kubernetes configuration to authenticate to this EKS cluster."
    31    value       = module.eks.config_map_aws_auth
    32  }
    33  
    34  output "region" {
    35    description = "AWS region."
    36    value       = var.region
    37  }
    38  
    39  
    40  
    41  output "cluster_ca_certificate" {
    42    value = "${base64decode(module.eks.cluster_certificate_authority_data)}"
    43  }
    44  
    45  output "host" {
    46    depends_on = [module.eks]
    47    value      = "${module.eks.cluster_endpoint}"
    48  }