Skip to Main Content
feedback.corp.metal
Status Shipped
Workspace Usability
Created by Ben White
Created on Feb 23, 2021

Accept ANY or list of eligible server types for a deploy request

This idea was imported from Canny. Originally created by: Eric Lake. The current owner is: Alice Sowerby.

It would be great if the terraform provider would allow for the plan type to be a list of flavors of servers instead of just a string. Much the same way that facility is today. https://registry.terraform.io/providers/packethost/packet/latest/docs/resources/device is what I am referring to here.
  • Admin
    Ben White
    Reply
    |
    Apr 28, 2023

    This comment was imported from Canny. Originally created by: Enkel Prifti with 0 likes.

    Marques Johansson It would be good to have this at the API level as well, not just Terraform.

  • Admin
    Ben White
    Reply
    |
    Sep 1, 2022

    This comment was imported from Canny. Originally created by: Marques Johansson with 0 likes.

    This is now possible using the equinix_metal_plans datasource. You can find more details (and some Terraform limitations to be aware of) on the Terraform Registry page: https://registry.terraform.io/providers/equinix/equinix/latest/docs/data-sources/equinix_metal_plans

  • Admin
    Ben White
    Reply
    |
    Mar 19, 2021

    This comment was imported from Canny. Originally created by: Enkel Prifti with 0 likes.

    Agreed on this request, ideally it should be handled at the API level. When you pass a plan type, it should be similar to how we handle facilities. "plan": ["c3.medium.x86", "c2.medium.x86", "any"]

  • +7