From d9c1e36908a6e617f126ff8888a20d0f8e14e092 Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 3 May 2021 11:44:04 -0400 Subject: [PATCH] add vpc_id --- vpn/README.md | 1 + vpn/variables.tf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/vpn/README.md b/vpn/README.md index 6af7cc2..8a843b2 100644 --- a/vpn/README.md +++ b/vpn/README.md @@ -76,6 +76,7 @@ No modules. | [tags](#input\_tags) | AWS Tags to apply to appropriate resources (S3, KMS). Do not include safeguard tags here, use the data\_safeguard field for such things. | `map(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/vpn/variables.tf b/vpn/variables.tf index f5f9ade..e256a5a 100644 --- a/vpn/variables.tf +++ b/vpn/variables.tf @@ -28,3 +28,9 @@ variable "route_table_ids" { type = list(string) default = [] } + +variable "vpc_id" { + description = "VPC ID" + type = string +} +