Data Source: oci_tenantmanagercontrolplane_subscription_mappings

This data source provides the list of Subscription Mappings in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.

Lists the subscription mappings for all the subscriptions owned by a given compartmentId. Only the root compartment is allowed.

Example Usage

data "oci_tenantmanagercontrolplane_subscription_mappings" "test_subscription_mappings" {
	#Required
	subscription_id = oci_tenantmanagercontrolplane_subscription.test_subscription.id

	#Optional
	compartment_id = var.compartment_id
	state = var.subscription_mapping_state
	subscription_mapping_id = oci_tenantmanagercontrolplane_subscription_mapping.test_subscription_mapping.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

SubscriptionMapping Reference

The following attributes are exported: