oci_tenantmanagercontrolplane_subscription_mapping

This resource provides the Subscription Mapping resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/organizations/latest/SubscriptionMapping

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

Assign the tenancy record identified by the compartment ID to the given subscription ID.

Example Usage

resource "oci_tenantmanagercontrolplane_subscription_mapping" "test_subscription_mapping" {
	#Required
	compartment_id = var.compartment_id
	subscription_id = oci_tenantmanagercontrolplane_subscription.test_subscription.id
}

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

Import

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

$ terraform import oci_tenantmanagercontrolplane_subscription_mapping.test_subscription_mapping "id"