oci_ocvp_byol_allocation

This resource provides the Byol Allocation resource in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/vmware/latest/ByolAllocation

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ocvp

Creates an Allocation on an specific Bring-You-Own-License (BYOL).

Use the WorkRequest operations to track the creation of the BYOL.

Example Usage

resource "oci_ocvp_byol_allocation" "test_byol_allocation" {
	#Required
	allocated_units = var.byol_allocation_allocated_units
	byol_id = oci_ocvp_byol.test_byol.id
	compartment_id = var.compartment_id
	display_name = var.byol_allocation_display_name

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	freeform_tags = {"Department"= "Finance"}
}

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 Byol Allocation * update - (Defaults to 20 minutes), when updating the Byol Allocation * delete - (Defaults to 20 minutes), when destroying the Byol Allocation

Import

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

$ terraform import oci_ocvp_byol_allocation.test_byol_allocation "id"