openstack_blockstorage_quotaset_v2

Manages a V2 block storage quotaset resource within OpenStack.

Example Usage

resource "openstack_identity_project_v3" "project_1" {
  name = project_1
}

resource "openstack_blockstorage_quotaset_v2" "quotaset_1" {
  project_id           = openstack_identity_project_v3.project_1.id
  volumes              = 10
  snapshots            = 4
  gigabytes            = 100
  per_volume_gigabytes = 10
  backups              = 4
  backup_gigabytes     = 10
  groups               = 100
  volume_type_quota = {
    volumes_ssd   = 30
    gigabytes_ssd = 500
    snapshots_ssd = 10
  }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Quotasets can be imported using the project_id/region, e.g.

$ terraform import openstack_blockstorage_quotaset_v2.quotaset_1 2a0f2240-c5e6-41de-896d-e80d97428d6b/region_1