diff options
| author | Saumit <justsaumit@protonmail.com> | 2025-09-28 02:25:37 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2025-09-28 02:25:37 +0530 |
| commit | 912405a8f3f6b831b9abcf6e16a9372160e7ce32 (patch) | |
| tree | 88514db155e36f430be8cc87d12b8d136e156cb2 /astroshop-terraform/variables.tf | |
| parent | d682471acaa88e96c78717b813ffeedb726da831 (diff) | |
vpc: Adding vpc module
Diffstat (limited to 'astroshop-terraform/variables.tf')
| -rw-r--r-- | astroshop-terraform/variables.tf | 29 |
1 files changed, 29 insertions, 0 deletions
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 |
