agones.dev/agones@v1.54.0/examples/terraform-submodules/oke/outputs.tf (about)

     1  // Copyright 2024 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  
    15  output "cluster_endpoints" {
    16    description = "Endpoints for the OKE cluster"
    17    value       = module.oke_cluster.cluster_endpoints
    18  }
    19  
    20  output "cluster_kubeconfig" {
    21    description = "OKE kebuconfig"
    22    value       = module.oke_cluster.cluster_kubeconfig
    23  }
    24  
    25  output "cluster_ca_cert" {
    26    description = "OKE cluster CA certificate"
    27    value       = module.oke_cluster.cluster_ca_cert
    28  }
    29  
    30  output "bastion_public_ip" {
    31    description = "Public IP address of bastion host"
    32    value       = module.oke_cluster.bastion_public_ip
    33  }
    34  
    35  output "operator_private_ip" {
    36    description = "Private IP address of operator host"
    37    value       = module.oke_cluster.operator_private_ip
    38  }
    39  
    40  output "ssh_to_bastion" {
    41    description = "SSH command for bastion host"
    42    value       = module.oke_cluster.ssh_to_bastion
    43  }
    44  
    45  output "ssh_to_operator" {
    46    description = "SSH command for operator host"
    47    value       = module.oke_cluster.ssh_to_operator
    48  }