Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.14 KB

disk_offering.html.markdown

File metadata and controls

47 lines (33 loc) · 1.14 KB
layout page_title sidebar_current description
default
CloudStack: cloudstack_disk_offering
docs-cloudstack-resource-disk_offering
Creates a Disk Offering

CloudStack: cloudstack_disk_offering

A cloudstack_disk_offering resource manages a disk offering within CloudStack.

Example Usage

resource "cloudstack_disk_offering" "example" {
    name = "example-disk-offering"
    display_text = "Example Disk Offering"
    disk_size = 100
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the disk offering.
  • display_text - (Required) The display text of the disk offering.
  • disk_size - (Required) The size of the disk offering in GB.

Attributes Reference

The following attributes are exported:

  • id - The ID of the disk offering.
  • name - The name of the disk offering.
  • display_text - The display text of the disk offering.
  • disk_size - The size of the disk offering in GB.

Import

Disk offerings can be imported; use <DISKOFFERINGID> as the import ID. For example:

$ terraform import cloudstack_disk_offering.example <DISKOFFERINGID>