page_title | subcategory | description |
---|---|---|
morpheus_price Resource - terraform-provider-morpheus |
Provides a price resource |
Provides a price resource
resource "morpheus_price" "tf_example_price" {
name = "terraform-test"
code = "terraform-test"
tenant_id = 1
price_type = "fixed"
price_unit = "minute"
incur_charges = "always"
currency = "USD"
cost = 38.00
}
code
(String) The code of the pricecost
(Number) The cost of the pricecurrency
(String) The currency of the priceincur_charges
(String) When charges will be incurred (running, stopped, always)name
(String) The name of the priceprice_type
(String) The price type (fixed, compute, memory, cores, storage, datastore, platform, software, load_balancer, load_balancer_virtual_server)price_unit
(String) The price unit (minute, hour, day, month, year, two year, three year, four year, five year)
apply_price_accross_clouds
(Boolean) Whether to apply the datastore price across cloudscustom_price
(Number) The custom pricedatastore_id
(Number) The id of the datastore to associate the price withmarkup_cost
(Number) The fixed cost at which the base cost is marked upmarkup_percent
(Number) The percentage at which the base cost is marked upmarkup_type
(String) The type of markup applied to the cost (fixed, percent, custom)platform
(String) The name of the platform (canonical, centos, debian, fedora, opensuse, redhat, suse, xen, linux, windows)software
(String) The name of the softwaretenant_id
(Number) The id of the tenant to assign the price tovolume_type_id
(Number) The id of the volume type
id
(String) The ID of the price
Import is supported using the following syntax:
terraform import morpheus_price.tf_example_price 1