Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/1252.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
Added an `aws_route` resource to the example code for `hcp_aws_transit_gateway_attachment`.
```
6 changes: 6 additions & 0 deletions docs/resources/aws_transit_gateway_attachment.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ resource "hcp_hvn_route" "route" {
resource "aws_ec2_transit_gateway_vpc_attachment_accepter" "example" {
transit_gateway_attachment_id = hcp_aws_transit_gateway_attachment.example.provider_transit_gateway_attachment_id
}

resource "aws_route" "example" {
route_table_id = aws_vpc.example.main_route_table_id
destination_cidr_block = hcp_hvn.main.cidr_block
transit_gateway_id = aws_ec2_transit_gateway_vpc_attachment_accepter.example.id
}
```

<!-- schema generated by tfplugindocs -->
Expand Down
Loading