# Title: variables.tf # Description: Root defined variables ####-- Global Variables --#### # AWS Region To Use variable "region" { default = "us-west-2" } # Availability Zones To Use variable "availability_zones" { type = "list" default = [ "us-west-2a" , "us-west-2b" , "us-west-2c" ] } ####-- VPC Variables --#### # VPC Network variable "vpc_cidr" { description = "CIDR for the whole VPC" # /21 = 2046 IPs, 10.0.0.1 - 10.0.7.254 default = "10.0.0.0/21" } # Public Subnet 01 (with IGW) variable "public_subnet01_cidr" { description = "CIDR for the Public Subnet" # /25 = 126 IPs, 10.0.0.1 - 10.0.0.126 default = "10.0.0.0/25" } # Public Subnet 02 (with IGW) variable "public_subnet02_cidr" { description = "CIDR for the Public Subnet" # /25 = 126 IPs, 10.0.0.129 - 10.0.0.254 default = "10.0.0.128/25" } # Public Subnet 03 (with IGW) variable "public_subnet03_cidr" { description = "CIDR for the Public Subnet" # /25 = 126 IPs, 10.0.1.1 - 10.0.1.126 default = "10.0.1.0/25" } # Private Subnet 01 (no IGW) variable "private_subnet01_cidr" { description = "CIDR for the Private Subnet" # /23 = 510 IPs, 10.0.2.1 - 10.0.3.254 default = "10.0.2.0/23" } # Private Subnet 02 (no IGW) variable "private_subnet02_cidr" { description = "CIDR for the Private Subnet" # /23 = 510 IPs, 10.0.4.1 - 10.0.5.254 default = "10.0.4.0/23" } # Private Subnet 03 (no IGW) variable "private_subnet03_cidr" { description = "CIDR for the Private Subnet" # /23 = 510 IPs, 10.0.6.1 - 10.0.7.254 default = "10.0.6.0/23" }