Terraform provider reference / resources / object_storage_reservation

fiberax_object_storage_reservation (Resource)

The storage reservation of the object storage project - what the project is billed for, hour by hour, for every reserved terabyte, whatever is actually stored.

THIS IS MONEY, AND IT ONLY GROWS. Raising reserved_tb orders more storage at once and is irreversible: the reservation cannot be lowered - not here, not in the client area. The only way down is deleting the whole storage with its data in the client area. A typo such as 100 instead of 10 is an hourly bill for 100 TB from then on: read the plan.

Ordering needs a payment method on the account (a verified card or credit) and no unpaid invoices; otherwise the platform refuses with card_verification_required or client_has_debt and nothing is ordered.

ONE resource per project, and the project is set by the token itself - that is why the resource has no identifier field. Removing it from the configuration or terraform destroy changes NOTHING on the platform: the reservation stays and keeps being billed. The import ID is the word project; anything else, a project number included, is refused.

Example Usage

# THIS IS MONEY, AND IT ONLY GROWS. The project is billed every hour for every reserved
# terabyte. Raising the number orders storage at once; it can never be lowered - the only
# way down is deleting the whole storage with its data in the client area.
resource "fiberax_object_storage_reservation" "this" {
  provider    = fiberax.storage
  reserved_tb = 2
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

# The resource has no identifier of its own: the project comes from the token itself. The
# import ID is the word `project`; anything else, a project number included, is refused.
terraform import fiberax_object_storage_reservation.this project

Generated from the provider schema for version 0.11.0. How to install the provider: Terraform provider.