From f51069c3a44f80d1ee8fdd651375452896635d03 Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 10 May 2021 12:32:19 -0400 Subject: [PATCH] remove vpc_id --- nacl-rules/README.md | 3 +-- nacl-rules/main.tf | 2 +- nacl-rules/variables.common.vpc_id.tf | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 120000 nacl-rules/variables.common.vpc_id.tf diff --git a/nacl-rules/README.md b/nacl-rules/README.md index 1980a00..15079cf 100644 --- a/nacl-rules/README.md +++ b/nacl-rules/README.md @@ -14,7 +14,7 @@ module "nacl-rules" { rule_definitions = {} named_cidr_blocks = [ "enterprise", "vpc", "other" ] merge_cidr_blocks = { - "vpc" = var.vpc_cidr + "vpc" = var.vpc_cidr_block "other" = [] } rules = [ "all_inbound", "all_outbound" ] @@ -67,7 +67,6 @@ No modules. | [vpc\_cidr\_block](#input\_vpc\_cidr\_block) | VPC CIDR Block | `string` | `""` | no | | [vpc\_environment](#input\_vpc\_environment) | VPC environment purpose (infrastructure, common, shared, dev, stage, ite, prod) | `string` | `null` | no | | [vpc\_full\_name](#input\_vpc\_full\_name) | VPC full name component (vpc{index}-{vpc\_name}) | `string` | `null` | no | -| [vpc\_id](#input\_vpc\_id) | VPC ID | `string` | n/a | yes | | [vpc\_index](#input\_vpc\_index) | VPC index number (integer starting at 1) | `number` | `null` | no | | [vpc\_name](#input\_vpc\_name) | VPC name component used through the VPC descrbing its purpose (ex: dice-dev) | `string` | `null` | no | | [vpc\_short\_name](#input\_vpc\_short\_name) | VPC short name component (vpc{index}) | `string` | `null` | no | diff --git a/nacl-rules/main.tf b/nacl-rules/main.tf index dbccffb..aec27f5 100644 --- a/nacl-rules/main.tf +++ b/nacl-rules/main.tf @@ -15,7 +15,7 @@ * rule_definitions = {} * named_cidr_blocks = [ "enterprise", "vpc", "other" ] * merge_cidr_blocks = { -* "vpc" = var.vpc_cidr +* "vpc" = var.vpc_cidr_block * "other" = [] * } * rules = [ "all_inbound", "all_outbound" ] diff --git a/nacl-rules/variables.common.vpc_id.tf b/nacl-rules/variables.common.vpc_id.tf deleted file mode 120000 index bc2e061..0000000 --- a/nacl-rules/variables.common.vpc_id.tf +++ /dev/null @@ -1 +0,0 @@ -../common/variables.common.vpc_id.tf \ No newline at end of file