From 912405a8f3f6b831b9abcf6e16a9372160e7ce32 Mon Sep 17 00:00:00 2001 From: Saumit Date: Sun, 28 Sep 2025 02:25:37 +0530 Subject: vpc: Adding vpc module --- astroshop-terraform/variables.tf | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'astroshop-terraform/variables.tf') diff --git a/astroshop-terraform/variables.tf b/astroshop-terraform/variables.tf index 3b0968c..37ae09c 100644 --- a/astroshop-terraform/variables.tf +++ b/astroshop-terraform/variables.tf @@ -2,4 +2,33 @@ variable "region" { description = "The AWS region to deploy resources in" type = string default = "ap-south-1" +} +variable "vpc_cidr" { + description = "The CIDR block for the VPC" + type = string + default = "10.0.0.0/16" +} + +variable "availability_zones" { + description = "List of availability zones to use" + type = list(string) + default = ["ap-south-1a", "ap-south-1b", "ap-south-1c"] +} + +variable "private_subnet_cidrs" { + description = "List of CIDR blocks for private subnets" + type = list(string) + default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"] +} + +variable "public_subnet_cidrs" { + description = "List of CIDR blocks for public subnets" + type = list(string) + default = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"] +} + +variable "cluster_name" { + description = "The name of the EKS cluster" + type = string + default = "astroshop-eks-cluster" } \ No newline at end of file -- cgit v1.2.3