oci_marketplace_accepted_agreement

This resource provides the Accepted Agreement resource in Oracle Cloud Infrastructure Marketplace service.

Accepts a terms of use agreement for a specific package version of a listing. You must accept all terms of use for a package before you can deploy the package.

Example Usage

resource "oci_marketplace_accepted_agreement" "test_accepted_agreement" {
	#Required
	agreement_id = oci_marketplace_agreement.test_agreement.id
	compartment_id = var.compartment_id
	listing_id = oci_marketplace_listing.test_listing.id
	package_version = var.accepted_agreement_package_version
	signature = var.accepted_agreement_signature

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.accepted_agreement_display_name
	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 Accepted Agreement * update - (Defaults to 20 minutes), when updating the Accepted Agreement * delete - (Defaults to 20 minutes), when destroying the Accepted Agreement

Import

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

$ terraform import oci_marketplace_accepted_agreement.test_accepted_agreement "id"