~> Deprecation Notice Equinix Metal will reach end of life on June 30, 2026. All Metal data sources will be removed in version 5.0.0 of this provider. Use version 4.x of this provider for continued use through sunset. See https://docs.equinix.com/metal/ for more information.
equinix_metal_operating_system (Data Source)
Use this data source to get Equinix Metal Spot Market Price for a plan.
Example Usage
Lookup by metro:
data "equinix_metal_spot_market_price" "example" {
metro = "sv"
plan = "c3.small.x86"
}
Argument Reference
The following arguments are supported:
plan- (Required) Name of the plan.facility- (Deprecated) Name of the facility. Use metro instead; read the facility to metro migration guidemetro- (Optional) Name of the metro.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
price- Current spot market price for given plan in given facility.