oci_core_app_catalog_subscription

This resource provides the App Catalog Subscription resource in Oracle Cloud Infrastructure Core service.

Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions.

Example Usage

resource "oci_core_app_catalog_subscription" "test_app_catalog_subscription" {
	#Required
	compartment_id = var.compartment_id
	listing_id = data.oci_core_app_catalog_listing.test_listing.id
	listing_resource_version = var.app_catalog_subscription_listing_resource_version
	oracle_terms_of_use_link = var.app_catalog_subscription_oracle_terms_of_use_link
	signature = var.app_catalog_subscription_signature
	time_retrieved = var.app_catalog_subscription_time_retrieved

	#Optional
	eula_link = var.app_catalog_subscription_eula_link
}

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

Import

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

$ terraform import oci_core_app_catalog_subscription.test_app_catalog_subscription "compartmentId/{compartmentId}/listingId/{listingId}/listingResourceVersion/{listingResourceVersion}"