github.com/weaveworks/common@v0.0.0-20230728070032-dd9e68f319d5/tools/provisioning/gcp/variables.tf (about)

     1  variable "gcp_username" {
     2    description = "Google Cloud Platform SSH username"
     3  }
     4  
     5  variable "app" {
     6    description = "Name of the application using the created Compute Engine instance(s)."
     7    default     = "default"
     8  }
     9  
    10  variable "name" {
    11    description = "Name of the Compute Engine instance(s)."
    12    default     = "test"
    13  }
    14  
    15  variable "num_hosts" {
    16    description = "Number of Compute Engine instance(s)."
    17    default     = 1
    18  }
    19  
    20  variable "client_ip" {
    21    description = "IP address of the client machine"
    22  }
    23  
    24  variable "gcp_public_key_path" {
    25    description = "Path to file containing public key"
    26    default     = "~/.ssh/id_rsa.pub"
    27  }
    28  
    29  variable "gcp_private_key_path" {
    30    description = "Path to file containing private key"
    31    default     = "~/.ssh/id_rsa"
    32  }
    33  
    34  variable "gcp_project" {
    35    description = "Google Cloud Platform project"
    36    default     = "weave-net-tests"
    37  }
    38  
    39  variable "gcp_image" {
    40    # See also: https://cloud.google.com/compute/docs/images
    41    # For example:
    42    # - "ubuntu-os-cloud/ubuntu-1604-lts"
    43    # - "debian-cloud/debian-8"
    44    # - "centos-cloud/centos-7"
    45    # - "rhel-cloud/rhel7"
    46    description = "Google Cloud Platform OS"
    47  
    48    default = "ubuntu-os-cloud/ubuntu-1604-lts"
    49  }
    50  
    51  variable "gcp_size" {
    52    # See also: 
    53    #   $ gcloud compute machine-types list
    54    description = "Google Cloud Platform's selected machine size"
    55  
    56    default = "n1-standard-1"
    57  }
    58  
    59  variable "gcp_region" {
    60    description = "Google Cloud Platform's selected region"
    61    default     = "us-central1"
    62  }
    63  
    64  variable "gcp_zone" {
    65    description = "Google Cloud Platform's selected zone"
    66    default     = "us-central1-a"
    67  }
    68  
    69  variable "gcp_network" {
    70    description = "Google Cloud Platform's selected network"
    71    default     = "test"
    72  }
    73  
    74  variable "gcp_network_global_cidr" {
    75    description = "CIDR covering all regions for the selected Google Cloud Platform network"
    76    default     = "10.128.0.0/9"
    77  }