Create route table entries associated with a Peering Connection.
Example:
module "pcx" {
source = "git::https://github.com/rhythmictech/terraform-aws-pcx"
name = "SourceAccount-VPC<=>DescAccount-VPC"
peer_owner_id = "0123456789012"
peer_region = "us-east-1"
peer_vpc_id = "vpc-01234567a"
vpc_id = module.vpc.vpc_id
}
Name | Version |
---|---|
terraform | >= 0.13 |
aws | >= 3 |
Name | Version |
---|---|
aws | 4.56.0 |
No modules.
Name | Type |
---|---|
aws_vpc_peering_connection.pcx | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
name | Name of peering connection resource | string |
"pcx" |
no |
peer_owner_id | PCX Peer Owner Account ID | string |
n/a | yes |
peer_region | PCX Peer Region | string |
n/a | yes |
peer_vpc_id | PCX Peer VPC | string |
n/a | yes |
tags | Tags to add to supported resources | map(string) |
{} |
no |
vpc_id | PCX VPC | string |
n/a | yes |
Name | Description |
---|---|
pcx_id | The ID of the VPC |