Ensure correct VIF type during import of Direct Connect Virtual Interfaces #8843
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/directconnect
Issues and PRs that pertain to the directconnect service.
Milestone
Community Note
Description
The
aws_dx_private_virtual_interface
,aws_dx_public_virtual_interface
andaws_dx_transit_virtual_interface
all support resource import viaterraform import
. As the same underlying AWS Direct Connect API call is used in all cases, it is possible to import e.g. a transit VIF as a private VIF. The API returns aVirtualInterfaceType
property so we should check that this has the correct value before allowing the import to succeed.Related:
The text was updated successfully, but these errors were encountered: