oci_license_manager_product_license

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

Creates a new product license.

Example Usage

resource "oci_license_manager_product_license" "test_product_license" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.product_license_display_name
	is_vendor_oracle = var.product_license_is_vendor_oracle
	license_unit = var.product_license_license_unit

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	images {
		#Required
		listing_id = oci_marketplace_listing.test_listing.id
		package_version = var.product_license_images_package_version
	}
	vendor_name = var.product_license_vendor_name
}

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

Import

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

$ terraform import oci_license_manager_product_license.test_product_license "id"