github.com/tetrafolium/tflint@v0.8.0/tflint/test-fixtures/v0.11.0_module/.terraform/modules/abc3234899392665e7e4875ddfd1340d/hashicorp-terraform-aws-consul-ee980b4/variables.tf (about)

     1  # ---------------------------------------------------------------------------------------------------------------------
     2  # ENVIRONMENT VARIABLES
     3  # Define these secrets as environment variables
     4  # ---------------------------------------------------------------------------------------------------------------------
     5  
     6  # AWS_ACCESS_KEY_ID
     7  # AWS_SECRET_ACCESS_KEY
     8  
     9  # ---------------------------------------------------------------------------------------------------------------------
    10  # OPTIONAL PARAMETERS
    11  # These parameters have reasonable defaults.
    12  # ---------------------------------------------------------------------------------------------------------------------
    13  
    14  variable "ami_id" {
    15    description = "The ID of the AMI to run in the cluster. This should be an AMI built from the Packer template under examples/consul-ami/consul.json. To keep this example simple, we run the same AMI on both server and client nodes, but in real-world usage, your client nodes would also run your apps. If the default value is used, Terraform will look up the latest AMI build automatically."
    16    default     = ""
    17  }
    18  
    19  variable "aws_region" {
    20    description = "The AWS region to deploy into (e.g. us-east-1)."
    21    default     = "us-east-1"
    22  }
    23  
    24  variable "cluster_name" {
    25    description = "What to name the Consul cluster and all of its associated resources"
    26    default     = "consul-example"
    27  }
    28  
    29  variable "num_servers" {
    30    description = "The number of Consul server nodes to deploy. We strongly recommend using 3 or 5."
    31    default     = 3
    32  }
    33  
    34  variable "num_clients" {
    35    description = "The number of Consul client nodes to deploy. You typically run the Consul client alongside your apps, so set this value to however many Instances make sense for your app code."
    36    default     = 6
    37  }
    38  
    39  variable "cluster_tag_key" {
    40    description = "The tag the EC2 Instances will look for to automatically discover each other and form a cluster."
    41    default     = "consul-servers"
    42  }
    43  
    44  variable "ssh_key_name" {
    45    description = "The name of an EC2 Key Pair that can be used to SSH to the EC2 Instances in this cluster. Set to an empty string to not associate a Key Pair."
    46    default     = ""
    47  }
    48  
    49  variable "vpc_id" {
    50      description = "The ID of the VPC in which the nodes will be deployed.  Uses default VPC if not supplied."
    51      default = ""
    52  }