page_title | subcategory | description |
---|---|---|
morpheus_price_set Resource - terraform-provider-morpheus |
Provides a price set resource |
Provides a price set resource
data "morpheus_cloud" "vspherecloud" {
name = "morpheus_vsphere"
}
data "morpheus_resource_pool" "morpheus_pool" {
name = "morpheuspool"
cloud_id = data.morpheus_cloud.vspherecloud.id
}
resource "morpheus_price_set" "tf_example_price_set_software" {
name = "terraform-test-everything"
code = "terraform-test-everything"
region_code = "us-west-2"
cloud_id = data.morpheus_cloud.vspherecloud.id
resource_pool_id = data.morpheus_resource_pool.morpheus_pool.id
price_unit = "minute"
type = "fixed"
price_ids = [morpheus_price.tf_example_price.id]
}
code
(String) The code of the price setname
(String) The name of the price setprice_ids
(List of Number) The list of price ids associated with the price setprice_unit
(String) The price unit (minute, hour, day, month, year, two year, three year, four year, five year)region_code
(String) The region code of the price settype
(String) The price type (fixed, compute, memory, cores, storage, datastore, platform, software_or_service, load_balancer, load_balancer_virtual_server)
cloud_id
(Number) The id of the cloudresource_pool_id
(Number) The resource pool to assign the price set to
id
(String) The ID of the price set
Import is supported using the following syntax:
terraform import morpheus_price_set.tf_example_price_set 1