oci_limits_quota

This resource provides the Quota resource in Oracle Cloud Infrastructure Limits service.

Creates a new quota with the details supplied.

Example Usage

resource "oci_limits_quota" "test_quota" {
	#Required
	compartment_id = var.tenancy_ocid
	description = var.quota_description
	name = var.quota_name
	statements = var.quota_statements

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	freeform_tags = {"Department"= "Finance"}
	locks {
		#Required
		type = var.quota_locks_type

		#Optional
		message = var.quota_locks_message
		related_resource_id = oci_limits_related_resource.test_related_resource.id
	}	
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Quota * update - (Defaults to 20 minutes), when updating the Quota * delete - (Defaults to 20 minutes), when destroying the Quota

Import

Quotas can be imported using the id, e.g.

$ terraform import oci_limits_quota.test_quota "id"