You must be logged in to view saved presets
Manages the accepter's side of a Direct Connect hosted public virtual interface, accepting ownership from another AWS account.
data "aws_caller_identity" "accepter" {
provider = "aws.accepter"
}
resource "aws_dx_hosted_public_virtual_interface" "creator" {
address_family = "ipv4"
amazon_address = "175.45.176.2/30"
bgp_asn = 65352
connection_id = "dxcon-zzzzzzzz"
customer_address = "175.45.176.1/30"
name = "vif-foo"
owner_account_id = data.aws_caller_identity.accepter.account_id
route_filter_prefixes = ["210.52.109.0/24", "175.45.176.0/22"]
vlan = 4094
}
resource "aws_dx_hosted_public_virtual_interface_accepter" "accepter" {
provider = "aws.accepter"
tags = {
Side = "Accepter"
}
virtual_interface_id = aws_dx_hosted_public_virtual_interface.creator.id
}