Skip to content

Creates a VPC peering connection between two VPC's. Can be inter-region or inter-account

License

Notifications You must be signed in to change notification settings

QuiNovas/terraform-aws-vpc-peering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-vpc-peering

This module creates the requested VPC peering and routes required.

Usage

provider "aws" {
  alias               = "ohio"
  allowed_account_ids = local.allowed_account_ids
  region              = "us-east-2"
}

provider "aws" {
  alias               = "n_virginia"
  allowed_account_ids = local.allowed_account_ids
  region              = "us-east-1"
}

module "peering" {
  accepter_vpc_id = "vpc-123456789abc"

  providers = {
    aws.accepter  = aws.ohio
    aws.requester = aws.n_virginia
  }

  requester_vpc_id = "vpc-abcdefgh123"
  source           = "QuiNovas/vpc-peering/aws"
  version          = "3.0.2"
}

Authors

Module managed by Quinovas (https://github.com/QuiNovas)

License

Apache License, Version 2.0, January 2004 (http://www.apache.org/licenses/). See LICENSE for full details.

About

Creates a VPC peering connection between two VPC's. Can be inter-region or inter-account

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages