» openstack_blockstorage_quotaset_v3

Manages a V3 block storage quotaset resource within OpenStack.

» Example Usage

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

resource "openstack_blockstorage_quotaset_v3" "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
}

» Argument Reference

The following arguments are supported:

  • region - (Optional) The region in which to create the volume. If omitted, the region argument of the provider is used. Changing this creates a new quotaset.

  • project_id - (Required) ID of the project to manage quotas. Changing this creates a new quotaset.

  • volumes - (Optional) Quota value for volumes. Changing this updates the existing quotaset.

  • snapshots - (Optional) Quota value for snapshots. Changing this updates the existing quotaset.

  • gigabytes - (Optional) Quota value for gigabytes. Changing this updates the existing quotaset.

  • per_volume_gigabytes - (Optional) Quota value for gigabytes per volume . Changing this updates the existing quotaset.

  • backups - (Optional) Quota value for backups. Changing this updates the existing quotaset.

  • backup_gigabytes - (Optional) Quota value for backup gigabytes. Changing this updates the existing quotaset.

  • groups - (Optional) Quota value for groups. Changing this updates the existing quotaset.

» Attributes Reference

The following attributes are exported:

» Import

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

$ terraform import openstack_blockstorage_quotaset_v3.quotaset_1 2a0f2240-c5e6-41de-896d-e80d97428d6b