Skip to content

This terraform module provide resources to manage Virtual Private Cloud (VPC) peering connections.

License

Notifications You must be signed in to change notification settings

DNXLabs/terraform-aws-vpc-peering

Repository files navigation

terraform-aws-vpc-peering

Lint Status LICENSE

This terraform module provide resources to manage Virtual Private Cloud (VPC) peering connections. A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses.

The following resources will be created:

  • A VPC requester - VPC that sends a request to the owner of the accepter VPC to create the VPC peering connection
  • A VPC Accepter - VPC that accepts the VPC peering connection request to activate the VPC peering connection.
  • A route table - That contains a set of rules, called routes, that are used to determine where network traffic from your subnet or gateway is directed.
  • Network Access Control list (ACL) - NACLs provide a rule-based tool for controlling network traffic ingress and egress at the protocol and subnet level.
    • in_accepter_public_from_requester
    • out_accepter_public_to_requester
    • in_accepter_private_from_requester
    • out_accepter_private_to_requester
    • in_accepter_secure_from_requester
    • out_accepter_secure_to_requester
    • in_requester_from_accepter
    • out_requester_to_accepter

Requirements

Name Version
terraform >= 0.12.0

Providers

Name Version
aws n/a
aws.peer n/a

Inputs

Name Description Type Default Required
accepter_region Region of acccepter any n/a yes
peer_owner_id Account ID of accepter any n/a yes
peer_vpc_id VPC ID of accepter any n/a yes
serial Number of this peering, distinct from others, to avoid conflict with NACL rule number number 0 no
vpc_id VPC ID of requester any n/a yes

Outputs

No output.

Author

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

About

This terraform module provide resources to manage Virtual Private Cloud (VPC) peering connections.

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages