oci_delegate_access_control_delegation_subscription

This resource provides the Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service.

Creates Delegation Subscription in Delegation Control.

Example Usage

resource "oci_delegate_access_control_delegation_subscription" "test_delegation_subscription" {
	#Required
	compartment_id = var.compartment_id
	service_provider_id = oci_delegate_access_control_service_provider.test_service_provider.id
	subscribed_service_type = var.delegation_subscription_subscribed_service_type

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

Import

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

$ terraform import oci_delegate_access_control_delegation_subscription.test_delegation_subscription "id"