Created
May 19, 2016 18:29
-
-
Save charity/c0b01d367e2cc66400bc311d23d30a44 to your computer and use it in GitHub Desktop.
top level terraform variables.tf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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