This commit is contained in:
Sam
2025-09-26 10:47:35 +00:00
parent 8496c9de14
commit 59060033d3
3 changed files with 52 additions and 6 deletions
+21 -4
View File
@@ -1,5 +1,10 @@
variable "vnet_name" {
description = "Name of the Virtual Network"
type = string
}
variable "resource_group_name" {
description = "Name of the resource group"
description = "Resource Group to create resources in"
type = string
}
@@ -9,11 +14,23 @@ variable "location" {
}
variable "address_space" {
description = "CIDR for the Virtual Network"
description = "CIDR blocks for the VNet"
type = list(string)
}
variable "subnets" {
description = "Map of subnet names and CIDRs"
description = "Map of subnet names to CIDR blocks"
type = map(string)
}
}
variable "environment" {
description = "Environment tag (dev/prod)"
type = string
default = "dev"
}
variable "project" {
description = "Project tag"
type = string
default = "TerraformBootcamp"
}