Skip to content

Instantly share code, notes, and snippets.

@duduribeiro
Created March 31, 2017 19:11
Show Gist options
  • Save duduribeiro/98f1dc6efc2ed985129e3609ef897f7b to your computer and use it in GitHub Desktop.
Save duduribeiro/98f1dc6efc2ed985129e3609ef897f7b to your computer and use it in GitHub Desktop.
Terraform networking module - variables.tf
variable "vpc_cidr" {
description = "The CIDR block of the VPC"
}
variable "public_subnet_cidr" {
description = "The CIDR block for the public subnet"
}
variable "private_subnet_cidr" {
description = "The CIDR block for the private subnet"
}
variable "environment" {
description = "The environment"
}
variable "region" {
description = "The region to launch the bastion host"
}
variable "availability_zone" {
description = "The az that the resources will be launched"
}
variable "bastion_ami" {
default = {
"us-east-1" = "ami-f652979b"
"us-east-2" = "ami-fcc19b99"
"us-west-1" = "ami-16efb076"
}
}
variable "key_name" {
description = "The public key for the bastion host"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment