Skip to content

Commit 145d3e9

Browse files
committed
Add warning messages
1 parent b663d36 commit 145d3e9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

website/docs/d/ec2_transit_gateway_dx_gateway_attachment.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: |-
1010

1111
Get information on an EC2 Transit Gateway's attachment to a Direct Connect Gateway.
1212

13+
!> **Warning:** Using the `aws_ec2_transit_gateway_dx_gateway_attachment` data source in combination with `aws_ec2_transit_gateway_route_table_propagation` or `aws_ec2_transit_gateway_route_table_association` may result in lost connectivity due to unnecessary resource re-creation. To avoid this, use the `transit_gateway_attachment_id` attribute directly from the `aws_dx_gateway_association` resource. For example, `transit_gateway_attachment_id = aws_dx_gateway_association.example.transit_gateway_attachment_id`.
14+
1315
## Example Usage
1416

1517
### By Transit Gateway and Direct Connect Gateway Identifiers

website/docs/d/ec2_transit_gateway_vpc_attachment.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: |-
1010

1111
Get information on an EC2 Transit Gateway VPC Attachment.
1212

13+
!> **Warning:** Using the `aws_ec2_transit_gateway_vpc_attachment` data source in combination with `aws_ec2_transit_gateway_route_table_propagation` or `aws_ec2_transit_gateway_route_table_association` may result in lost connectivity due to unnecessary resource re-creation. To avoid this, use the `id` attribute directly from the `aws_ec2_transit_gateway_vpc_attachment` _resource_. For example, `transit_gateway_attachment_id = aws_ec2_transit_gateway_vpc_attachment.example.id`.
14+
1315
## Example Usage
1416

1517
### By Filter

0 commit comments

Comments
 (0)