From 802eae895f269351c9724ebaa72dc26eccea1301 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 4 Mar 2022 09:17:44 -0500 Subject: [PATCH] add var profile --- vpn-transit-gateway/README.md | 1 + vpn-transit-gateway/variables.tf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/vpn-transit-gateway/README.md b/vpn-transit-gateway/README.md index 98b53a3..645b950 100644 --- a/vpn-transit-gateway/README.md +++ b/vpn-transit-gateway/README.md @@ -87,6 +87,7 @@ No modules. | [account\_id](#input\_account\_id) | AWS Account ID (default will pull from current user) | `string` | `""` | no | | [create](#input\_create) | Flag to indicate whether to create the resources or not (default: true) | `bool` | `true` | no | | [override\_prefixes](#input\_override\_prefixes) | Override built-in prefixes by component. This should be used primarily for common infrastructure things | `map(string)` | `{}` | no | +| [profile](#input\_profile) | AWS Profile Name, used for makign AWS call to download VPN configurations | `string` | `"default"` | no | | [route\_table\_ids](#input\_route\_table\_ids) | List of created route table IDs for privating routing to be used for VPN route propagation | `list(string)` | `[]` | no | | [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 | | [tgw\_environment](#input\_tgw\_environment) | Transit Gatewway environment purpose (services, dev, test, stage, prod, cre) | `string` | `null` | no | diff --git a/vpn-transit-gateway/variables.tf b/vpn-transit-gateway/variables.tf index abc2784..4d87d73 100644 --- a/vpn-transit-gateway/variables.tf +++ b/vpn-transit-gateway/variables.tf @@ -1,3 +1,9 @@ +variable "profile" { + description = "AWS Profile Name, used for makign AWS call to download VPN configurations" + type = string + default = "default" +} + variable "route_table_ids" { description = "List of created route table IDs for privating routing to be used for VPN route propagation" type = list(string)