github.com/SUSE/skuba@v1.4.17/ci/infra/aws/variables.tf (about)

     1  variable "stack_name" {
     2    default     = "k8s"
     3    description = "identifier to make all your resources unique and avoid clashes with other users of this terraform project"
     4  }
     5  
     6  variable "aws_region" {
     7    default     = "eu-north-1"
     8    description = "Name of the AWS region to be used"
     9  }
    10  
    11  variable "ami_name_pattern" {
    12    default     = "suse-sles-15-*"
    13    description = "Pattern for choosing the AMI image"
    14  }
    15  
    16  variable "authorized_keys" {
    17    type        = list(string)
    18    default     = []
    19    description = "ssh keys to inject into all the nodes. First key will be used for creating a keypair."
    20  }
    21  
    22  variable "public_subnet" {
    23    type        = string
    24    description = "CIDR blocks for each public subnet of vpc"
    25    default     = "10.1.1.0/24"
    26  }
    27  
    28  variable "private_subnet" {
    29    type        = string
    30    description = "Private subnet of vpc"
    31    default     = "10.1.4.0/24"
    32  }
    33  
    34  variable "vpc_cidr_block" {
    35    type        = string
    36    description = "CIRD blocks for vpc"
    37    default     = "10.1.0.0/16"
    38  }
    39  
    40  variable "aws_access_key" {
    41    default     = ""
    42    description = "AWS access key"
    43  }
    44  
    45  variable "aws_secret_key" {
    46    default     = ""
    47    description = "AWS secret key"
    48  }
    49  
    50  variable "master_size" {
    51    default     = "t2.large"
    52    description = "Size of the master nodes"
    53  }
    54  
    55  variable "masters" {
    56    default     = 1
    57    description = "Number of master nodes"
    58  }
    59  
    60  variable "worker_size" {
    61    default     = "t2.medium"
    62    description = "Size of the worker nodes"
    63  }
    64  
    65  variable "workers" {
    66    default     = 1
    67    description = "Number of worker nodes"
    68  }
    69  
    70  variable "tags" {
    71    type        = map(string)
    72    default     = {}
    73    description = "Extra tags used for the AWS resources created"
    74  }
    75  
    76  variable "repositories" {
    77    type        = list(string)
    78    default     = []
    79    description = "List of extra repositories (as maps with '<name>'='<url>') to add via cloud-init"
    80  }
    81  
    82  variable "packages" {
    83    type = list(string)
    84  
    85    default = [
    86      "kmod",
    87      "-docker",
    88      "-containerd",
    89      "-docker-runc",
    90      "-docker-libnetwork",
    91    ]
    92  
    93    description = "list of additional packages to install"
    94  }
    95  
    96  variable "caasp_registry_code" {
    97    default     = ""
    98    description = "SUSE CaaSP Product Registration Code"
    99  }
   100  
   101  variable "rmt_server_name" {
   102    default     = ""
   103    description = "SUSE Repository Mirroring Server Name"
   104  }
   105  
   106  variable "suma_server_name" {
   107    default     = ""
   108    description = "SUSE Manager Server Name"
   109  }
   110  
   111  variable "iam_profile_master" {
   112    default     = ""
   113    description = "IAM profile associated with the master nodes"
   114  }
   115  
   116  variable "iam_profile_worker" {
   117    default     = ""
   118    description = "IAM profile associated with the worker nodes"
   119  }
   120  
   121  variable "peer_vpc_ids" {
   122    type        = list(string)
   123    default     = []
   124    description = "IDs of a VPCs to connect to via a peering connection"
   125  }
   126