page_title | subcategory | description |
---|---|---|
morpheus_service_plan Resource - terraform-provider-morpheus |
Provides a service plan resource |
Provides a service plan resource
resource "morpheus_service_plan" "tf_example_service_plan" {
name = "terraform-test-sp"
code = "terraform-test-sp1"
active = true
display_order = 2
provision_type = "vmware"
// Processors
max_cores = 8
custom_cores = true
cores_per_socket = 4
// Memory
max_memory = 3145728
memory_size_type = "mb"
custom_memory = true
custom_memory_range {
minimum = 1048576
maximum = 3145728
}
// Storage
max_storage = 3221225472
storage_size_type = "mb"
customize_root_volume = true
customize_extra_volumes = true
add_volumes = true
max_disks_allowed = 0
custom_storage_range {
minimum = 3000
maximum = 5000
}
price_set_ids = [morpheus_price_set.tf_example_price_set_software.id,
203,
645,
202]
}
code
(String) The code for the service planname
(String) The name of the service planprice_set_ids
(List of Number) The list of price set ids associated with the service planprovision_type
(String) The provision type of the service plan
active
(Boolean) Whether the service plan is active or notadd_volumes
(Boolean) Whether additional volumescores_per_socket
(Number) The number of cores per socketcustom_cores
(Boolean) Whether the option to customize the number of processor cores is avaiablecustom_cores_range
(Block List, Max: 1) (see below for nested schema)custom_memory
(Boolean) Whether customizable memory is an optioncustom_memory_range
(Block List, Max: 1) (see below for nested schema)custom_storage_range
(Block List, Max: 1) (see below for nested schema)customize_extra_volumes
(Boolean) Whether the additional volumes are customizedcustomize_root_volume
(Boolean) Whether the root volume is customizeddisplay_order
(Number) The display or sort order of the service planmax_cores
(Number) The maximum amount of processor coresmax_disks_allowed
(Number) The maximum number of disks that are allowed to be addedmax_memory
(Number) The maximum amount of memory in bytesmax_storage
(Number) The maximum amount of storage in bytesmemory_size_type
(String) The unit of measure used for the service plan memory (gb, mb)region_code
(String) The region code for the service planstorage_size_type
(String) The unit of measure used for the service plan storage (gb, mb)
id
(String) The ID of the service plan
Optional:
maximum
(String)minimum
(String)
Optional:
maximum
(Number)minimum
(Number)
Required:
maximum
(String)minimum
(String)
Import is supported using the following syntax:
terraform import morpheus_service_plan.tf_example_service_plan 1