From 29b2c0e8cafe047203f0ace88c7e570db19566d6 Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 14 Nov 2024 11:27:04 +0000 Subject: [PATCH] remove variables as it was a test --- module.tf | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/module.tf b/module.tf index 5a64bfd..ce75c53 100644 --- a/module.tf +++ b/module.tf @@ -7,44 +7,6 @@ provider "kubernetes" { config_path = "~/.kube/config" } -variable "networks" { - type = map(object({ - cidr_block = string - subnets = map(object({ cidr_block = string })) - })) - default = { - "private" = { - cidr_block = "10.1.0.0/16" - subnets = { - "db1" = { - cidr_block = "10.1.0.1/16" - } - "db2" = { - cidr_block = "10.1.0.2/16" - } - } - }, - "public" = { - cidr_block = "10.1.1.0/16" - subnets = { - "webserver" = { - cidr_block = "10.1.1.1/16" - } - "email_server" = { - cidr_block = "10.1.1.2/16" - } - } - } - "dmz" = { - cidr_block = "10.1.2.0/16" - subnets = { - "firewall" = { - cidr_block = "10.1.2.1/16" - } - } - } - } -}