Actualiser vpc-production.tf
All checks were successful
Terraform Apply / Terraform Apply (push) Successful in 41s

This commit is contained in:
2025-08-07 14:13:15 +02:00
parent 019bb2ebd9
commit 73ec547fd7

View File

@@ -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