Closed victor-cortez0315 closed 2 years ago
@victor-cortez0315 , Please could you post an example Terraform block of what you are trying to do.
resource "megaport_aws_connection" "kb_aws_vxc" { vxc_name = var.aws_vxc_name rate_limit = var.aws_rate_limit
a_end { requested_vlan = var.aws_requested_vlan }
a_end_mcr_configuration { ip_addresses = var.a_end_ip
bgp_connection {
peer_asn = var.peer_asn
local_ip_address = var.bgp_local_ip
peer_ip_address = var.bgp_peer_ip
}
}
csp_settings { attached_to = var.aws_attached_to requested_product_id = data.megaport_partner_port.kb_aws_megaport.id requested_asn = var.aws_requested_asn amazon_asn = var.amazon_asn amazon_account = var.amazon_account hosted_connection = var.hosted_connection } }
Can you confirm that the var.a_end_ip is a slice and not a single string?
Also, be careful with the csp_settings.attached_to parameter - it is deprecated in provider version 0.2.0 and has been moved into a_end.port_id
It is a single string. Should it be a slice?
Trying to configure MCR with BGP VXCs and the a_end_mcr_configuration block is not supported.