This commit is contained in:
Johan LEROY
2026-08-05 09:11:14 +02:00
parent fdbc1d04a3
commit 478401f751
10 changed files with 288 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
variable "vpc_name" {
type = string
description = "VPC name"
}
variable "vpc_cidr_block" {
description = "VPC CIDR block"
type = string
default = "10.0.0.0/16"
}
variable "subnet_name_prefix" {
description = "Subnet name prefix"
type = string
default = "sub"
}
variable "common_tags" {
type = map(string)
description = "Default common tags"
default = {
Owner = "user"
CourseId = "my_course"
}
}
variable "subnets" {
description = "Subnets to create"
type = map(map(string))
default = {}
}