agones.dev/agones@v1.53.0/install/terraform/modules/eks/variables.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 15 variable "cluster_name" { 16 default = "test-cluster" 17 } 18 19 variable "region" { 20 default = "us-west-2" 21 } 22 23 variable "machine_type" { 24 default = "t2.large" 25 } 26 27 variable "node_count" { 28 default = "4" 29 } 30 31 variable "map_accounts" { 32 description = "Additional AWS account numbers to add to the aws-auth configmap." 33 type = list(string) 34 35 default = [ 36 "777777777777", 37 "888888888888", 38 ] 39 } 40 41 variable "map_roles" { 42 description = "Additional IAM roles to add to the aws-auth configmap." 43 type = list(map(string)) 44 45 default = [ 46 { 47 role_arn = "arn:aws:iam::66666666666:role/role1" 48 username = "role1" 49 group = "system:masters" 50 }, 51 ] 52 } 53 54 variable "map_users" { 55 description = "Additional IAM users to add to the aws-auth configmap." 56 type = list(map(string)) 57 58 default = [ 59 { 60 user_arn = "arn:aws:iam::66666666666:user/user1" 61 username = "user1" 62 group = "system:masters" 63 }, 64 { 65 user_arn = "arn:aws:iam::66666666666:user/user2" 66 username = "user2" 67 group = "system:masters" 68 }, 69 ] 70 }