New HCP Networking capabilities in the HCP Terraform Provider

Greetings :wave:

In reference to a recent post about coming changes to the HCP Provider…

hcp_aws_transit_gateway_attachment and hcp_hvn_route support is now GA within the HCP Terraform provider. This is in addition to the existing capabilities of hcp_aws_network_peering. These resources allow you to have more control over how your cloud environments connect to HCP.

The HVN route is a new resource that belongs to an HVN. It contains a CIDR block and targets a networking connection: either a peering or transit gateway attachment. HVN routes provide a general view on how a HVN’s traffic is routed across all networking connections and create a flexible way of managing these routing rules.

To take advantage of these new capabilities or use the latest version of the provider, you must migrate existing hcp_aws_transit_gateway_attachment and hcp_aws_network_peering resources impacted by the upgrade. This version of the provider, 0.7.0, introduces breaking changes for these resources. Please see the migration guide for step-by-step instructions.

WHAT IS HAPPENING?
We are introducing breaking changes to hcp_aws_network_peering and hcp_aws_transit_gateway_attachment resources in HCP Terraform Provider.

IS MY HCP DEPLOYMENT AFFECTED?
No. This change does not impact your services running on HCP. It only affects the HCP Terraform Provider.

WHAT ACTION DO I NEED TO TAKE?
To take advantage of the new features or avoid disruption to your existing Terraform runs, you will need to upgrade to the current version of the HCP Terraform Provider in your workflows. The migration guide will give you step-by-step instructions for updating your existing hcp_aws_transit_gateway_attachment or hcp_aws_network_peering resources.

If you are not ready to upgrade, please pin your HCP provider version to 0.6.1 or earlier.

WHY IS THIS HAPPENING?
These changes will enable HashiCorp Cloud Platform to support more flexible network topologies, enabling both VPC peering and Transit Gateway peering.

WHEN IS THIS HAPPENING?
These resource changes are already live in the HashiCorp Cloud Platform UI and the latest version of the HCP Terraform Provider.

If you have any questions, please feel free to contact us via the HashiCorp Help Center.

Thank you.

Trevor Powell
Product Manager :heart: HCP Terraform Provider