» scaleway_baremetal_offer_beta

Gets information about a baremetal offer. For more information, see the documentation.

» Example Usage

// Get info by offer name
data "scaleway_baremetal_offer_beta" "my_offer" {
  zone = "fr-par-2"
  name = "HC-BM1-L"

// Get info by offer id
data "scaleway_baremetal_offer_beta" "my_offer" {
  zone     = "fr-par-2"
  offer_id = "3ab0dc29-2fd4-486e-88bf-d08fbf49214b"

» Argument Reference

  • name - (Optional) The offer name. Only one of name and offer_id should be specified.

  • offer_id - (Optional) The offer id. Only one of name and offer_id should be specified.

  • allow_disabled - (Optional, default false) Include disabled offers.

  • zone - (Defaults to provider zone) The zone in which the offer should be created.

» Attributes Reference

In addition to all above arguments, the following attributes are exported:

  • id - The ID of the offer.

  • bandwidth - Available Bandwidth with the offer.

  • commercial_range - Commercial range of the offer.

  • cpu - A list of cpu specifications. (Structure is documented below.)

  • disk - A list of disk specifications. (Structure is documented below.)

  • memory - A list of memory specifications. (Structure is documented below.)

  • stock - Stock status for this offer. Possible values are: empty, low or available.

The cpu block supports:

The disk block supports:

  • type - Type of disk.

  • capacity- Capacity of the disk in GB.

The memory block supports:

  • type - Type of memory.

  • capacity- Capacity of the memory in GB.

  • frequency - Frequency of the memory in MHz.

  • ecc- True if error-correcting code is available on this memory.