@@ -17,6 +17,7 @@ variable "share" {
1717 organizational_units = optional (list (string ), [])
1818 # # A list of organizational units to share the subnets with
1919 })
20+ default = {}
2021}
2122
2223variable "permitted_subnets" {
@@ -35,11 +36,39 @@ variable "subnets" {
3536 description = " A collectionn of subnets to provision for the tenant"
3637 type = map (object ({
3738 cidrs = list (string )
38- # # The cidr block to provision the subnets (optional)
3939 }))
4040 default = {}
4141}
4242
43+ variable "routes" {
44+ description = " A collection of routes to add to the subnets"
45+ type = list (object ({
46+ cidr = string
47+ # # The cidr block to provision the subnets (optional)
48+ carrier_gateway_id = optional (string , null )
49+ # # Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
50+ core_network_arn = optional (string , null )
51+ # # The Amazon Resource Name (ARN) of a core network.
52+ egress_only_gateway_id = optional (string , null )
53+ # # Identifier of a VPC Egress Only Internet Gateway.
54+ gateway_id = optional (string , null )
55+ # # Identifier of a VPC internet gateway or a virtual private gateway. Specify local when updating a previously imported local route.
56+ nat_gateway_id = optional (string , null )
57+ # # Identifier of a VPC NAT gateway.
58+ local_gateway_id = optional (string , null )
59+ # # Identifier of a Outpost local gateway.
60+ network_interface_id = optional (string , null )
61+ # # Identifier of an EC2 network interface.
62+ transit_gateway_id = optional (string , null )
63+ # # Identifier of an EC2 Transit Gateway.
64+ vpc_endpoint_id = optional (string , null )
65+ # # Identifier of a VPC Endpoint.
66+ vpc_peering_connection_id = optional (string , null )
67+ # # Identifier of a VPC peering connection.
68+ }))
69+ default = []
70+ }
71+
4372variable "tags" {
4473 description = " A map of tags to apply to the NACL"
4574 type = map (string )
0 commit comments