Skip to content

Instantly share code, notes, and snippets.

@charity charity/variables.tf

Created May 19, 2016
Embed
What would you like to do?
top level terraform variables.tf
### these variables should be the same across all environments
# your aws secret key and access key should be in your env variables
provider "aws" {
region = "us-east-1"
}
variable "tf_s3_bucket" { default = "hound-terraform-state" }
variable "master_state_file" { default = "base.tfstate" }
variable "prod_state_file" { default = "production.tfstate" } # TODO: make init.sh use these variables
variable "staging_state_file" { default = "staging.tfstate" }
variable "dogfood_state_file" { default = "dogfood.tfstate" }
variable "dev_state_file" { default = "dev.tfstate" }
variable "azs" { default = "us-east-1a,us-east-1b,us-east-1d,us-east-1e" }
variable "region" { default = "us-east-1" }
variable "key_name" { default = "charity-keypair" }
variable "acct_number" { default = "702835727665" } # needed for peering
variable "enable_dns_hostnames" { default = "true" }
variable "enable_dns_support" { default = "true" }
variable "ip_range" { default = "10.0.0.0/12" }
variable "domain" { default = "hound.sh" }
variable "subdomain" { default = "int.hound.sh" } ## deprecate
### hound ports
variable "retriever_port" { default = "8089" }
variable "poodle_port" { default = "8080" }
variable "shepherd_port" { default = "8080" }
variable "kafka_port" { default = "9092" }
variable "mysql_port" { default = "3306" }
variable "zookeeper_port" { default = "2717" }
variable "rsync_port" { default = "873" }
## arguable ... probably env-specific tho with a promotion path, or overrides
variable "ami" { default = "ami-fe48ab93" }
variable "ami_storage" { default = "ami-ee51b283" } # has 80gb ephemeral /dev/xvdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.