» Data Source: pureport_aws_connection

» Example Usage

data "pureport_aws_connection" "basic" {
  connection_id = data.pureport_connections.main.connections.0.id

  filter {
    name = "Name"
    values = ["^My Conn*"]
  }
}

» Argument Reference

The following arguments are supported:

  • connection_id - (Required) The ID of the connection. You should use the pureport_connections data source for querying the list of available connections and discover the ID for the connection.

  • filter - (Optional) A filter used to scope the list e.g. by tags.
    • name - (Required) The name of the filter. The valid values are defined in the Pureport SDK Model. Nested values are supported. E.g.("Location.DisplayName")
    • values - (Required) The value of the filter. Currently only regex strings are supported.

» Attributes

  • name - The name for the connection
  • location_href - HREF for the Pureport Location to attach the connection.
  • network_href - HREF for the network to associate the connection.
  • speed - The maximum QoS for this connection. Valid values are 50, 100, 200, 300, 400, 500, 1000, 10000 in Mbps.
  • aws_account_id - Your AWS Account ID.
  • aws_region - The AWS region to create your connection.
  • description - The description for the connection.
  • customer_networks - A list of named CIDR block to easily identify a customer network.
    • name - The name for the network.
    • address - The CIDR block for the network
  • billing_term - The billing term for the connection: (Currently only HOURLY is supported.)
  • high_availability - Whether a redundant gateway is/should be provisioned for this connection.
  • peering_type - The peering type to to use for the connection:
    • PRIVATE
    • PUBLIC
  • cloud_service_hrefs - When PUBLIC peering is configured, a list of HREFs for the Public peering services to which we want access.
  • tags - A dictionary of user defined key/value pairs to associate with this resource.

  • nat_config - The Network Address Translation configuration for the connection.

    • enabled - Is NAT enabled for this connection.
    • mappings - List of NAT mapped CIDR address
      • native_cidr - The native CIDR block to map.
      • nat_cidr - The CIDR block use for NAT to the associated subnet.
    • blocks - List of reserved blocks for NAT.
    • pnat_cidr - CIDR use for PNAT between connections.
  • gateways - List of cloud gateways and their configurations.

    • name - The name of the cloud gateway.
    • description - The description of the cloud gateway.
    • availability_domain - The availability domain of the cloud gateway. The valid values are PRIMARY, SECONDARY.
    • customer_asn - The customer ASN used for BGP Peering.
    • customer_ip - The assigned IP address to the customer side of the BGP Config.
    • pureport_asn - The Pureport ASN used for BGP Peering.
    • pureport_ip - The assigned IP address to the Pureport side of the BGP Config.
    • bgp_password - The autogenerated BGP password used for authentication.
    • peering_subnet - The BGP Config subnet assigned to establish BGP peering.
    • public_nat_ip - The public facing IP Address for NAT used by this connection.
    • remote_id - The ID of the AWS Direct Connect Connection.
    • vlan - The VLAN id for the connection to cloud services.

The Pureport Guide,