layout | page_title | sidebar_current | description |
---|---|---|---|
default |
CloudStack: cloudstack_disk_offering |
docs-cloudstack-resource-disk_offering |
Creates a Disk Offering |
A cloudstack_disk_offering
resource manages a disk offering within CloudStack.
resource "cloudstack_disk_offering" "example" {
name = "example-disk-offering"
display_text = "Example Disk Offering"
disk_size = 100
}
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.
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.
Disk offerings can be imported; use <DISKOFFERINGID>
as the import ID. For example:
$ terraform import cloudstack_disk_offering.example <DISKOFFERINGID>