network-hubandspoke

aws-ia/network-hubandspoke/aws

Terraform Module HCL AWS ✓ Verified
Install
module "network-hubandspoke" {
source = "aws-ia/network-hubandspoke/aws"
version = "3.2.0"
}
⭐ Source on GitHub 📦 Registry page
README

AWS Hub and Spoke Architecture with AWS Transit Gateway - Terraform Module AWS Transit Gateway is a network hub that you can use to interconnect your VPCs and on-premises networks. With it, you can create hub and spoke architectures to control how your VPCs and on-prem resources communicate between them. In addition, you can centralize different services - like traffic inspection or the connection to VPC endpoints - and therefore avoid extra costs by overprovisioning those services. This Terraform module helps you create the base of your networking infrastructure in AWS, by provisioning a Hub and Spoke Architecture with AWS Transit Gateway. You can indicate which resources you want to centralize - by defining which central VPCs you want to create -, and you get the Transit Gateway, VPCs, a

Inputs (7)
NameTypeDescriptionDefault
identifierstringString to identify the whole Hub and Spoke environment. required
network_definitionobject({ type = string "Definition of the IPv4 CIDR configuration. The definition is done by using two required
tagsmap(string)Tags to apply to all resources.{}
transit_gateway_idstringTransit Gateway ID. **If you specify this value, transit_gateway_attributes can'null
transit_gateway_attributesanyAttributes about the new Transit Gateway to create. **If you specify this value,{}
central_vpcsanyConfiguration of the Central VPCs - used to centralized different services. You {}
spoke_vpcsanyVariable used to provide the information about the Spoke VPCs to include in the {}
Outputs (4)
transit_gateway — AWS Transit Gateway resource. Check the resource in the Terraform Registry - [aws_ec2_transit_gatewa
central_vpcs — Central VPCs created. Check the [AWS VPC Module](https://github.com/aws-ia/terraform-aws-vpc) README
transit_gateway_route_tables — Transit Gateway Route Tables. The format of the output is the following one: ``` transit_gateway_ro
aws_network_firewall — AWS Network Firewall resource. Check the resource in the Terraform Registry - [aws_networkfirewall_f
Resources (6)
aws_ec2_transit_gatewayaws_ec2_transit_gateway_prefix_list_referenceaws_ec2_transit_gateway_routeaws_ec2_transit_gateway_route_tableaws_ec2_transit_gateway_route_table_associationaws_ec2_transit_gateway_route_table_propagation
Details
FrameworkTerraform Module
LanguageHCL
Version3.2.0
Cloud AWS
★ Stars33
Forks15
Total downloads95.4k
Inputs7
Outputs4
Resources6
Examples4
LicenseApache-2.0
Namespaceaws-ia
Updated