Manages a V3 block storage Quality-Of-Servirce (qos) resource within OpenStack.
resource "openstack_blockstorage_qos_v3" "qos" {
name = "foo"
consumer = "back-end"
specs = {
read_iops_sec = "40000"
write_iops_sec = "40000"
}
}
The following arguments are supported:
region
- (Optional) The region in which to create the qos. If omitted,
the region
argument of the provider is used. Changing this creates
a new qos.
name
- (Required) Name of the qos. Changing this creates a new qos.
consumer
- (Optional) The consumer of qos. Can be one of front-end
,
back-end
or both
. Changing this updates the consumer
of an
existing qos.
specs
- (Optional) Key/Value pairs of specs for the qos.
The following attributes are exported:
region
- See Argument Reference above.name
- See Argument Reference above.consumer
- See Argument Reference above.specs
- See Argument Reference above.Qos can be imported using the qos_id
, e.g.
$ terraform import openstack_blockstorage_qos_v3.qos 941793f0-0a34-4bc4-b72e-a6326ae58283