terraform-aws-vpc-peering
Terraform Module for AWS VPC Peering
Usage
module "vpc-peering" {
source = "cornfeedhobo/vpc-peering/aws"
providers = {
"aws.requester" = "aws.ash"
"aws.accepter" = "aws.pdx"
}
// see Inputs for the rest of the configuration values
}
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| accepter-account_id | The AWS Account ID of the 'requester' VPC | string | - | yes |
| accepter-allow_remote_vpc_dns_resolution | Toggle the allowance of DNS resolution through the 'requester' | string | false |
no |
| accepter-route_table_ids | The VPC Route Table IDs of the 'accepter' VPC | list | - | yes |
| accepter-vpc_cidr_blocks | The list of VPC CIDR blocks of the 'accepter' VPC | list | - | yes |
| accepter-vpc_id | The VPC ID of the 'accepter' VPC | string | - | yes |
| enabled | Toggle the creation and destruction of all resources in this module | string | true |
no |
| requester-allow_remote_vpc_dns_resolution | Toggle the allowance of DNS resolution through the 'accepter' | string | false |
no |
| requester-route_table_ids | The VPC Route Table IDs of the 'requester' VPC | list | - | yes |
| requester-vpc_cidr_blocks | The list of VPC CIDR blocks of the 'requester' VPC | list | - | yes |
| requester-vpc_id | The VPC ID of the 'requester' VPC | string | - | yes |
| tags | Tags to attach to the peering resources | map | <map> |
no |
License
Is it any good?
On this page
Languages
HCL100.0%
MIT License
Created August 26, 2019
Updated July 17, 2024