diff --git a/modules/vpc/README.md b/modules/vpc/README.md index 24a0c6a..ed7c484 100644 --- a/modules/vpc/README.md +++ b/modules/vpc/README.md @@ -86,7 +86,9 @@ No modules. | Name | Description | |------|-------------| +| [private\_route\_table\_ids](#output\_private\_route\_table\_ids) | n/a | | [private\_subnet\_ids](#output\_private\_subnet\_ids) | A list of private subnet ID's created by this module | +| [public\_route\_table\_ids](#output\_public\_route\_table\_ids) | n/a | | [public\_subnet\_ids](#output\_public\_subnet\_ids) | A list of public subnet ID's created by this module | | [vpc\_id](#output\_vpc\_id) | The ID of the VPC created by this module | \ No newline at end of file diff --git a/modules/vpc/variables.tf b/modules/vpc/variables.tf index 31e2278..d362c5d 100644 --- a/modules/vpc/variables.tf +++ b/modules/vpc/variables.tf @@ -15,7 +15,7 @@ variable "region" { type = string validation { - condition = can(regex("^(us|af|ap|ca|eu|me|sa|cn)\\-(east|west|south|northeast|southeast|central|north|northwest)\\-(1|2|3)$", var.region)) + condition = can(regex("^(us|af|ap|ca|eu|il|mx|me|sa|cn)\\-(east|west|south|northeast|southeast|central|north|northwest)\\-\\d$", var.region)) error_message = "The region must be a proper AWS region." } }