oci_license_manager_license_record

This resource provides the License Record resource in Oracle Cloud Infrastructure License Manager service.

Creates a new license record for the given product license ID.

Example Usage

resource "oci_license_manager_license_record" "test_license_record" {
    #Required
    display_name = var.license_record_display_name
    is_perpetual = var.license_record_is_perpetual
    is_unlimited = var.license_record_is_unlimited
    product_license_id = oci_license_manager_product_license.test_product_license.id

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    expiration_date = var.license_record_expiration_date
    freeform_tags = {"bar-key"= "value"}
    license_count = var.license_record_license_count
    product_id = oci_license_manager_product.test_product.id
    support_end_date = var.license_record_support_end_date
}

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

Import

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

$ terraform import oci_license_manager_license_record.test_license_record "id"