arun9theja / terraform-aws-vpc-peering-inter-region

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-aws-vpc-peering

Lint Status LICENSE

This terraform module provide resources to manage Virtual Private Cloud (VPC) peering connections inter regions. 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.accepter n/a
aws.requester n/a

Inputs

Name Description Type Default Required
accepter_owner_id Account ID of accepter any n/a yes
accepter_vpc_id VPC ID of accepter any n/a yes
accepter_region Region of acccepter any n/a yes
requester_owner_id Account ID of requester any n/a yes
requester_vpc_id VPC ID of requester any n/a yes
requester_region Region of requester any n/a yes
requester_subnet Subnet of requester any "transit" no
serial Number of this peering, distinct from others, to avoid conflict with NACL rule number number 0 no

Outputs

No output.

Author

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

About

License:Apache License 2.0


Languages

Language:HCL 100.0%