aws-ia / terraform-aws-network-hubandspoke

https://registry.terraform.io/modules/aws-ia/network-hubandspoke/aws
Apache License 2.0
28 stars 10 forks source link

Example to showcase the use of spoke VPC variable inside the module #19

Closed joshis2020 closed 1 year ago

joshis2020 commented 1 year ago

Hi,

I was going through the examples here but I could not find an example showcasing the usage of spoke VPC variable.

I understand that to manage the spoke VPCs and its subnet routing, the recommendation is to use the AWS VPC module. But I am trying to understand the usage of the spoke VPC variable here via an example.

From the document, it says that "This variable is used to provide the Hub and Spoke module the necessary information about the Spoke VPCs created." But its still unclear why this information is needed. An example of the same would be of a great help! Thanks in advance.

pablo19sc commented 1 year ago

We have updated the module, and now the examples show how you can work with the spoke VPC variable - hopefully it's useful!