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

Unable to specify transit gateway CIDR blocks #28

Open ClusterDaemon opened 5 months ago

ClusterDaemon commented 5 months ago

Due to erroneous validation in variables.tf, transit gateway CIDR blocks cannot be specified without encountering validation error.

Expectation:

Providing transit_gateway_attributes.transit_gateway_cidr_blocks configures a CIDR block dedicated to the the TGW.

Outcome:

When specifying transit_gateway_attributes.transit_gateway_cidr_blocks, validation throws an error due to a misspelling linked above. This attribute name must be pluralized.