Skip to content

Instantly share code, notes, and snippets.

@duduribeiro
Created March 31, 2017 23:40
Show Gist options
  • Select an option

  • Save duduribeiro/18dc248b531b37b68e609ce1ea58992c to your computer and use it in GitHub Desktop.

Select an option

Save duduribeiro/18dc248b531b37b68e609ce1ea58992c to your computer and use it in GitHub Desktop.
Terraform staging - variables.tf2
variable "environment" {
default = "staging"
}
variable "key_name" {
description = "The aws keypair to use"
}
variable "region" {
description = "Region that the instances will be created"
}
variable "availability_zone" {
description = "The AZ that the resources will be launched"
}
# Networking
variable "vpc_cidr" {
description = "The CIDR block of the VPC"
}
variable "public_subnet_cidr" {
description = "The CIDR block of the public subnet"
}
variable "private_subnet_cidr" {
description = "The CIDR block of the private subnet"
}
# Web
variable "web_instance_count" {
description = "The total of web instances to run"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment