crossplane-contrib / provider-equinix-metal

DEPRECATED: Use provider-jet-equinix :warning:
https://github.com/crossplane-contrib/provider-jet-equinix
Apache License 2.0
16 stars 8 forks source link

Add support for Port Assignment #16

Closed hasheddan closed 4 years ago

hasheddan commented 4 years ago

What problem are you facing?

crossplane-provider-packet does not currently have support for assigning ports to virtual networks

How could the Packet Crossplane Provider help solve your problem?

Add v1alpha1 support for Assignment in ports.packet.crossplane.io group.

hasheddan commented 4 years ago

@displague could you sign off my chosen GVK for this resources and #15?

displague commented 4 years ago

In terms of the API, there is more than one "Assignment" type that can be imagined for "ports.packet.crossplane.io".

Terraform packet_port_vlan_attachment exposes these two endpoints using a native parameter, and perhaps Crossplane can take the same approach (rather than creating two separate resource names).

Attachment is also an option, which maps to the Terraform provider naming.

Assignment sounds good. We can change this in the PR if needed.


Assignment vs Attachment will come up again when visiting these API endpoints (likely others):