Provides a Direct Connect private virtual interface resource.
resource "aws_dx_private_virtual_interface" "foo" { connection_id = "dxcon-zzzzzzzz" name = "vif-foo" vlan = 4094 address_family = "ipv4" bgp_asn = 65352 }
The following arguments are supported:
address_family
- (Required) The address family for the BGP peer. ipv4
or ipv6
. bgp_asn
- (Required) The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. connection_id
- (Required) The ID of the Direct Connect connection (or LAG) on which to create the virtual interface. name
- (Required) The name for the virtual interface. vlan
- (Required) The VLAN ID. amazon_address
- (Optional) The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers. bgp_auth_key
- (Optional) The authentication key for BGP configuration. customer_address
- (Optional) The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers. dx_gateway_id
- (Optional) The ID of the Direct Connect gateway to which to connect the virtual interface. tags
- (Optional) A mapping of tags to assign to the resource. vpn_gateway_id
- (Optional) The ID of the virtual private gateway to which to connect the virtual interface. The following attributes are exported:
aws_dx_private_virtual_interface
provides the following Timeouts configuration options:
create
- (Default 10 minutes
) Used for creating virtual interface delete
- (Default 10 minutes
) Used for destroying virtual interface Direct Connect private virtual interfaces can be imported using the vif id
, e.g.
$ terraform import aws_dx_private_virtual_interface.test dxvif-33cc44dd
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/dx_private_virtual_interface.html