sivakumarvunnam / terraform-aws-vpc-peering

Terraform Module for AWS VPC peering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-aws-vpc-peering

Terraform module for VPC peering

provider "aws" {

}

module "peering_connection" {
  source = "github.com/sivakumarvunnam/terraform-aws-vpc-peering"

  providers = {
    aws.this = aws
    aws.peer = aws
  }

  this_vpc_id                    = "source vpc id"
  this_vpc_route_table_ids       = "source vpc id routing tables ids"
  allow_this_resolve_dns_in_peer = true
  allow_peer_resolve_dns_in_this = false

  peer_vpc_id                    = "peer vpc id"
  auto_accept_peering_connection = true
}

About

Terraform Module for AWS VPC peering


Languages

Language:HCL 100.0%