View SourceRelease Notes
vpc-peering-cross-accounts-requester
This module manages the requester's side of the VPC Peering Connection between two differents accounts that you control.
Requirements
Name | Version |
---|---|
terraform | >= 1.0.0 |
Providers
Name | Version |
---|---|
aws | n/a |
Modules
No modules.
Resources
Name | Type |
---|---|
aws_route.this | resource |
aws_vpc_peering_connection.this | resource |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
accepter_owner_id | The account ID of the accepter VPC. | string | n/a | yes |
accepter_region | The region of the accepter VPC. | string | n/a | yes |
accepter_vpc_cidr | The VPC CIDR of the accepter VPC. | string | n/a | yes |
accepter_vpc_id | The ID of the accepter VPC. | string | n/a | yes |
route_tables | List of route tables to add routes to. | list(string) | n/a | yes |
tags | A map of tags to assign to resources. | map(string) | {} | no |
vpc_id | The VPC ID. | string | n/a | yes |
Outputs
Name | Description |
---|---|
vpc_peering_connection_id | Peering connection ID. |
Reference
- Inputs
- Outputs
Required
accepter_owner_id
stringThe account ID of the accepter VPC.
accepter_region
stringThe region of the accepter VPC.
accepter_vpc_cidr
stringThe VPC CIDR of the accepter VPC.
accepter_vpc_id
stringThe ID of the accepter VPC.
route_tables
list(string)List of route tables to add routes to.
vpc_id
stringThe VPC ID.
Optional
Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.
false
route_creation_timeout
stringHow long to wait for a route to be created before considering the operation failed.
"2m"
route_deletion_timeout
stringHow long to wait for a route to be deleted before considering the operation failed.
"5m"
tags
map(string)A map of tags to assign to resources.
{}
Peering connection ID.