github.com/outbrain/consul@v1.4.5/terraform/aws/variables.tf (about)

     1  variable "platform" {
     2    default     = "ubuntu"
     3    description = "The OS Platform"
     4  }
     5  
     6  variable "user" {
     7    default = {
     8      ubuntu  = "ubuntu"
     9      rhel6   = "ec2-user"
    10      centos6 = "centos"
    11      centos7 = "centos"
    12      rhel7   = "ec2-user"
    13    }
    14  }
    15  
    16  variable "ami" {
    17    description = "AWS AMI Id, if you change, make sure it is compatible with instance type, not all AMIs allow all instance types "
    18  
    19    default = {
    20      ap-south-1-ubuntu     = "ami-08a5e367"
    21      us-east-1-ubuntu      = "ami-d651b8ac"
    22      ap-northeast-1-ubuntu = "ami-8422ebe2"
    23      eu-west-1-ubuntu      = "ami-17d11e6e"
    24      ap-southeast-1-ubuntu = "ami-e6d3a585"
    25      ca-central-1-ubuntu   = "ami-e59c2581"
    26      us-west-1-ubuntu      = "ami-2d5c6d4d"
    27      eu-central-1-ubuntu   = "ami-5a922335"
    28      sa-east-1-ubuntu      = "ami-a3e39ecf"
    29      ap-southeast-2-ubuntu = "ami-391ff95b"
    30      eu-west-2-ubuntu      = "ami-e1f2e185"
    31      ap-northeast-2-ubuntu = "ami-0f6fb461"
    32      us-west-2-ubuntu      = "ami-ecc63a94"
    33      us-east-2-ubuntu      = "ami-9686a4f3"
    34      us-east-1-rhel6       = "ami-0d28fe66"
    35      us-east-2-rhel6       = "ami-aff2a9ca"
    36      us-west-2-rhel6       = "ami-3d3c0a0d"
    37      us-east-1-centos6     = "ami-57cd8732"
    38      us-east-2-centos6     = "ami-c299c2a7"
    39      us-west-2-centos6     = "ami-1255b321"
    40      us-east-1-rhel7       = "ami-2051294a"
    41      us-east-2-rhel7       = "ami-0a33696f"
    42      us-west-2-rhel7       = "ami-775e4f16"
    43      us-east-1-centos7     = "ami-6d1c2007"
    44      us-east-2-centos7     = "ami-6a2d760f"
    45      us-west-1-centos7     = "ami-af4333cf"
    46    }
    47  }
    48  
    49  variable "service_conf" {
    50    default = {
    51      ubuntu  = "debian_consul.service"
    52      rhel6   = "rhel_upstart.conf"
    53      centos6 = "rhel_upstart.conf"
    54      centos7 = "rhel_consul.service"
    55      rhel7   = "rhel_consul.service"
    56    }
    57  }
    58  
    59  variable "service_conf_dest" {
    60    default = {
    61      ubuntu  = "consul.service"
    62      rhel6   = "upstart.conf"
    63      centos6 = "upstart.conf"
    64      centos7 = "consul.service"
    65      rhel7   = "consul.service"
    66    }
    67  }
    68  
    69  variable "key_name" {
    70    description = "SSH key name in your AWS account for AWS instances."
    71  }
    72  
    73  variable "key_path" {
    74    description = "Path to the private key specified by key_name."
    75  }
    76  
    77  variable "region" {
    78    default     = "us-east-1"
    79    description = "The region of AWS, for AMI lookups."
    80  }
    81  
    82  variable "servers" {
    83    default     = "3"
    84    description = "The number of Consul servers to launch."
    85  }
    86  
    87  variable "instance_type" {
    88    default     = "t2.micro"
    89    description = "AWS Instance type, if you change, make sure it is compatible with AMI, not all AMIs allow all instance types "
    90  }
    91  
    92  variable "tagName" {
    93    default     = "consul"
    94    description = "Name tag for the servers"
    95  }
    96  
    97  variable "subnets" {
    98    type        = "map"
    99    description = "map of subnets to deploy your infrastructure in, must have as many keys as your server count (default 3), -var 'subnets={\"0\"=\"subnet-12345\",\"1\"=\"subnets-23456\"}' "
   100  }
   101  
   102  variable "vpc_id" {
   103    type        = "string"
   104    description = "ID of the VPC to use - in case your account doesn't have default VPC"
   105  }