Skip to content

Commit

Permalink
cited doc fix for issue #387 (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
JolisaBrownHashiCorp authored Sep 9, 2022
1 parent 4443d12 commit a56d2f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/peering.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ resource "aws_vpc_peering_connection_accepter" "peer" {
// Create an HVN route that targets your HCP network peering and matches your AWS VPC's CIDR block.
// The route depends on the data source, rather than the resource, to ensure the peering is in an Active state.
resource "hcp_hvn_route" "example" {
hvn_link = hcp_hvn.hvn.self_link
hvn_link = hcp_hvn.example.self_link
hvn_route_id = var.route_id
destination_cidr = aws_vpc.peer.cidr_block
target_link = data.hcp_aws_network_peering.example.self_link
Expand Down
2 changes: 1 addition & 1 deletion examples/guides/peering/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ resource "aws_vpc_peering_connection_accepter" "peer" {
// Create an HVN route that targets your HCP network peering and matches your AWS VPC's CIDR block.
// The route depends on the data source, rather than the resource, to ensure the peering is in an Active state.
resource "hcp_hvn_route" "example" {
hvn_link = hcp_hvn.hvn.self_link
hvn_link = hcp_hvn.example.self_link
hvn_route_id = var.route_id
destination_cidr = aws_vpc.peer.cidr_block
target_link = data.hcp_aws_network_peering.example.self_link
Expand Down

0 comments on commit a56d2f8

Please sign in to comment.