» openstack_compute_quotaset_v2

Manages a V2 compute quotaset resource within OpenStack.

» Example Usage

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

resource "openstack_compute_quotaset_v2" "quotaset_1" {
  project_id           = "${openstack_identity_project_v3.project_1.id}"
  key_pairs            = 10
  ram                  = 40960
  cores                = 32
  instances            = 20
  server_groups        = 4
  server_group_members = 8
}

» 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.

  • fixed_ips - (Optional) Quota value for fixed IPs. Changing this updates the existing quotaset.

  • floating_ips - (Optional) Quota value for floating IPs. Changing this updates the existing quotaset.

  • injected_file_content_bytes - (Optional) Quota value for content bytes of injected files. Changing this updates the existing quotaset.

  • injected_file_path_bytes - (Optional) Quota value for path bytes of injected files. Changing this updates the existing quotaset.

  • injected_files - (Optional) Quota value for injected files. Changing this updates the existing quotaset.

  • key_pairs - (Optional) Quota value for key pairs. Changing this updates the existing quotaset.

  • metadata_items - (Optional) Quota value for metadata items. Changing this updates the existing quotaset.

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

  • security_group_rules - (Optional) Quota value for security group rules. Changing this updates the existing quotaset.

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

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

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

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

  • server_group_members - (Optional) Quota value for server groups members. 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_compute_quotaset_v2.quotaset_1 2a0f2240-c5e6-41de-896d-e80d97428d6b