Skip to content

Instantly share code, notes, and snippets.

@bmwitcher
Created October 19, 2020 21:15
Show Gist options
  • Save bmwitcher/d2ae1d11760b39cebf61cd1f1ea5fe8f to your computer and use it in GitHub Desktop.
Save bmwitcher/d2ae1d11760b39cebf61cd1f1ea5fe8f to your computer and use it in GitHub Desktop.
vpc end var
# variables.tf
variable "region" {
default = "us-east-1"
}
variable "profile" {
default = "default"
}
variable "public_instance" {
type = string
default = "ami-02354e95b39ca8dec"
}
variable "private_instance" {
type = string
default = "ami-02354e95b39ca8dec"
}
variable "availabilityZonePub" {
default = "us-east-1a"
}
variable "availabilityZonePriv" {
default = "us-east-1b"
}
variable "instanceTenancy" {
default = "default"
}
variable "dnsSupport" {
default = true
}
variable "dnsHostNames" {
default = true
}
variable "vpcCIDRblock" {
default = "10.0.0.0/16"
}
variable "subnetCIDRblock" { # for private subnet
default = "10.0.0.0/24"
}
variable "subnetCIDRblock1" { # for public subnet
default = "10.0.1.0/24"
}
variable "destinationCIDRblock" {
default = "0.0.0.0/0"
}
variable "ingressCIDRblockPriv" {
type = string
default = "10.0.1.0/24"
}
variable "ingressCIDRblockPub" {
type = string
default = "0.0.0.0/0"
}
variable "mapPublicIP" {
default = true
}
variable "bucket_name" {
type = string
default = "tfendpoint"
}
variable "key_name" {
type = string
default = "endptkey"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment