agones.dev/agones@v1.53.0/examples/allocation-endpoint/terraform/variable.tf (about)

     1  // Copyright 2022 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  variable "project_id" {
    16    type        = string
    17    description = "The project ID."
    18  }
    19  
    20  variable "ae_proxy_image" {
    21    type        = string
    22    description = "The docker image of the allocation proxy."
    23    default     = "us-docker.pkg.dev/agones-images/examples/allocation-endpoint-proxy:0.14"
    24  }
    25  
    26  variable "region" {
    27    type        = string
    28    description = "The region."
    29    default     = "us-central1"
    30  }
    31  
    32  variable "authorized_members" {
    33    type        = list(string)
    34    description = "The list of the SAs/members that are authorized to call allocation endpoint."
    35  }
    36  
    37  variable "clusters_info" {
    38    type        = string
    39    description = "The list of allocation endpoints in the form of <endpoint>:<weight> in which weight is between 0 and 1."
    40  }
    41  
    42  variable "agones-namespace" {
    43    type        = string
    44    description = "The namespace that have the agones-allocator service with ESP container deployed to it."
    45    default     = "agones-system"
    46  }
    47  
    48  variable "workload-pool" {
    49    type        = string
    50    description = "The workload pool in the form of my-proj.svc.id.goog."
    51  }