diff --git a/vpc.tf b/vpc-production.tf similarity index 86% rename from vpc.tf rename to vpc-production.tf index 03afb36..16c61b9 100644 --- a/vpc.tf +++ b/vpc-production.tf @@ -1,5 +1,30 @@ +variable "aws_region" { + default = "eu-north-1" +} + +variable "environment" { + default = "Production" +} + +variable "vpc_cidr" { + default = "10.0.0.0/16" + description = "CIDR block of the vpc" +} + +variable "public_subnets_cidr" { + type = list(any) + default = ["10.0.0.0/20", "10.0.128.0/20"] + description = "CIDR block for Public Subnet" +} + +variable "private_subnets_cidr" { + type = list(any) + default = ["10.0.16.0/20", "10.0.144.0/20"] + description = "CIDR block for Private Subnet" +} + locals { - availability_zones = ["${var.aws_region}a", "${var.aws_region}b", "${var.aws_region}c"] + availability_zones = ["${var.aws_region}a", "${var.aws_region}b"] } # VPC