https://github.com/keisukeyamashita/terraform-aws-vpc-peering-connector
This module creates an AWS VPC peering connector and route
https://github.com/keisukeyamashita/terraform-aws-vpc-peering-connector
aws module terraform vpc vpc-peering
Last synced: 6 months ago
JSON representation
This module creates an AWS VPC peering connector and route
- Host: GitHub
- URL: https://github.com/keisukeyamashita/terraform-aws-vpc-peering-connector
- Owner: KeisukeYamashita
- License: other
- Created: 2020-08-27T12:26:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T15:31:41.000Z (about 5 years ago)
- Last Synced: 2024-10-05T12:24:38.955Z (about 1 year ago)
- Topics: aws, module, terraform, vpc, vpc-peering
- Language: HCL
- Homepage: https://registry.terraform.io/modules/KeisukeYamashita/vpc-peering-connector/aws
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS VPC Peering Connector module
This module creates an AWS VPC peering connector and route.
## Usage
```hcl
module "vpc_peering_connector" {
source = "KeisukeYamashita/terraform-aws-vpc-peering-connector"
version = "~> 1.0"
target_cidr_block = "100.200.100.200/20"
target_peering_id = "pcx-000111222333444"
auto_accept = true
route_table_id = aws_route_table.my_table.id
}
```## Requirements
| Name | Version |
|------|---------|
| terraform | >= 0.12.0, < 0.14 |
| aws | >= 3.0, < 4.0 |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| auto_accept | Accept VPC peering automatically | `bool` | `false` | no |
| route_table_id | ID of the route table to associate | `string` | `null` | yes |
| target_cidr_block | CIDR block of the target VPC | `string` | `null` | yes |
| target_peering_id | ID of the peering target | `string` | `null` | yes |## Author
* [KeisukeYamashita](https://github.com/KeisukeYamashita)
## License
Apache 2.0 Licensed. See LICENSE for full details.