vpc-peering

grem11n/vpc-peering/aws

Terraform Module HCL AWS

Terraform module to setup VPC peering connection

Install
module "vpc-peering" {
source = "grem11n/vpc-peering/aws"
version = "8.0.0"
}
⭐ Source on GitHub 📦 Registry page
README

AWS VPC Peering Connection Module Welcome 👋 ![SWUbanner](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) Additional information for users from Russia and Belarus Russia has illegally annexed Crimea in 2014 and brought the war in Donbas followed by full-scale invasion of Ukraine in 2022. Russia has brought sorrow and devastations to millions of Ukrainians, killed hundreds of innocent people, damaged thousands of buildings, and forced several million people to flee. Putin khuylo! Glory to Ukraine! 🇺 --- !terraform-aws-vpc-peering --- This module configures VPC peering in different configurations. These types of resources are supported: AWS VPC Peering Connection AWS VPC Peering Connection Accepter AWS VPC Peering Connection Options \ AWS Route Important Notice \ - T

Inputs (16)
NameTypeDescriptionDefault
this_vpc_idstringThis VPC ID: string""
auto_accept_peeringboolAuto accept peering connection: boolfalse
peer_dns_resolutionboolIndicates whether a local VPC can resolve public DNS hostnames to private IP addfalse
namestringName of the peering connection: string""
tagsmap(string)Tags: map{}
from_peerboolIf traffic FROM the peer VPC (to this) should be allowedtrue
this_subnets_idslist(string)If communication can only go to some specific subnets of this vpc. If empty whol[]
from_peer_associatedboolIf traffic FROM associated CIDRs of the peer VPC (to this) should be allowedfalse
peer_subnets_idslist(string)If communication can only go to some specific subnets of peer vpc. If empty whol[]
peer_rts_idslist(string)Allows to explicitly specify route tables for peer VPC[]
peer_vpc_idstringPeer VPC ID: string""
this_dns_resolutionboolIndicates whether a local VPC can resolve public DNS hostnames to private IP addfalse
from_thisboolIf traffic TO peer vpc (from this) should be allowedtrue
from_this_associatedboolIf traffic for associated CIDRs TO peer VPC (from this) should be allowedfalse
this_rts_idslist(string)Allows to explicitly specify route tables for this VPC[]
use_ipv6boolIf ipv6 should be usedfalse
Outputs (13)
accepter_options — VPC Peering Connection options set for the accepter VPC
requester_options — VPC Peering Connection options set for the requester VPC
requester_routes — Routes from the requester VPC
accepter_routes — Routes to the accepter VPC
aws_vpc_peering_connection
aws_vpc_peering_connection_accepter
vpc_peering_id — Peering connection ID
vpc_peering_accept_status — Accept status for the connection
this_vpc_id — The ID of the requester VPC
peer_owner_id — The AWS account ID of the owner of the accepter VPC
peer_vpc_id — The ID of the accepter VPC
this_owner_id — The AWS account ID of the owner of the requester VPC
peer_region — The region of the accepter VPC
Resources (4)
aws_routeaws_vpc_peering_connectionaws_vpc_peering_connection_accepteraws_vpc_peering_connection_options
Details
FrameworkTerraform Module
LanguageHCL
Version8.0.0
Cloud AWS
★ Stars137
Forks93
Total downloads1.0M
Inputs16
Outputs13
Resources4
Examples9
LicenseApache-2.0
Namespacegrem11n
Updated