@@ -3,17 +3,18 @@ layout: "aws"
33page_title : " AWS: aws_vpc_peering_connection_accepter"
44sidebar_current : " docs-aws-resource-vpc-peering-accepter"
55description : |-
6- Manage the accepter's side of a cross-account VPC peering connection .
6+ Manage the accepter's side of a cross-account VPC Peering Connection .
77---
88
99# aws\_ vpc\_ peering\_ connection\_ accepter
1010
11- Provides a resource to manage the accepter's side of a cross-account VPC peering connection .
11+ Provides a resource to manage the accepter's side of a cross-account VPC Peering Connection .
1212
13- When a cross-account (requester's AWS account differs from the accepter's) VPC peering connection is created,
14- a VPC peering connection resource is automatically created in the accepter's account. The requester can use
15- the ` aws_vpc_peering_connection ` resource to manage its side of the connection and the accepter can use the
16- ` aws_vpc_peering_connection_accepter ` resource to "adopt" its side of the connection into management.
13+ When a cross-account (requester's AWS account differs from the accepter's AWS account) VPC Peering Connection
14+ is created, a VPC Peering Connection resource is automatically created in the accepter's account.
15+ The requester can use the ` aws_vpc_peering_connection ` resource to manage its side of the connection
16+ and the accepter can use the ` aws_vpc_peering_connection_accepter ` resource to "adopt" its side of the
17+ connection into management.
1718
1819## Example Usage
1920
@@ -72,6 +73,14 @@ The following arguments are supported:
7273* ` auto_accept ` - (Optional) Whether or not to accept the peering request. Defaults to ` false ` .
7374* ` tags ` - (Optional) A mapping of tags to assign to the resource.
7475
76+ ### Removing ` aws_vpc_peering_connection_accepter ` from your configuration
77+
78+ AWS allows a cross-account VPC Peering Connection to be deleted from either the requester's or accepter's side.
79+ However, Terraform only allows the VPC Peering Connection to be deleted from the requester's side
80+ by removing the corresponding ` aws_vpc_peering_connection ` resource from your configuration.
81+ Removing a ` aws_vpc_peering_connection_accepter ` resource from your configuration will remove it
82+ from your statefile and management, ** but will not destroy the VPC Peering Connection.**
83+
7584## Attributes Reference
7685
7786All of the argument attributes except ` auto_accept ` are also exported as result attributes.
@@ -91,6 +100,6 @@ All of the argument attributes except `auto_accept` are also exported as result
91100* ` allow_remote_vpc_dns_resolution ` - Indicates whether a local VPC can resolve public DNS hostnames to
92101private IP addresses when queried from instances in a peer VPC.
93102* ` allow_classic_link_to_remote_vpc ` - Indicates whether a local ClassicLink connection can communicate
94- with the peer VPC over the VPC peering connection .
103+ with the peer VPC over the VPC Peering Connection .
95104* ` allow_vpc_to_remote_classic_link ` - Indicates whether a local VPC can communicate with a ClassicLink
96- connection in the peer VPC over the VPC peering connection .
105+ connection in the peer VPC over the VPC Peering Connection .
0 commit comments