Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.8 KB

service_offering.html.markdown

File metadata and controls

64 lines (42 loc) · 1.8 KB
layout title sidebar_current description
default
CloudStack: cloudstack_service_offering
docs-cloudstack-resource-service_offering
Creates a Service Offering

CloudStack: cloudstack_service_offering

A cloudstack_service_offering resource manages a service offering within CloudStack.

Example Usage

resource "cloudstack_service_offering" "example" {
    name = "example-service-offering"
    display_text = "Example Service Offering"
}

Argument Reference

The following arguments are supported:

  • name - (Required) Name of the service offering. Changing this forces a new resource to be created.

  • display_text - (Optional) The display text of the service offering.

  • cpu_number - (Optional) The number of CPU cores. Changing this forces a new resource to be created.

  • cpu_speed - (Optional) The speed of the CPU in Mhz. Changing this forces a new resource to be created.

  • memory - (Optional) Memory reserved by the VM in MB. Changing this forces a new resource to be created.

  • host_tags - (Optional) The host tags for the service offering.

  • limit_cpu_use - (Optional) Restrict the CPU usage to committed service offering. Changing this forces a new resource to be created.

  • offer_ha - (Optional) The HA for the service offering. Changing this forces a new resource to be created.

  • storage_type - (Optional) The storage type of the service offering. Values are local and shared. Changing this forces a new resource to be created.

Attributes Reference

The following attributes are exported:

  • id - The ID of the service offering.

Import

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

$ terraform import cloudstack_service_offering.example <SERVICEOFFERINGID>