oci_usage_proxy_subscription_redeemable_user

This resource provides the Subscription Redeemable User resource in Oracle Cloud Infrastructure Usage Proxy service.

Adds the list of redeemable user summary for a subscription ID.

Example Usage

resource "oci_usage_proxy_subscription_redeemable_user" "test_subscription_redeemable_user" {
	#Required
	subscription_id = oci_ons_subscription.test_subscription.id
	tenancy_id = oci_identity_tenancy.test_tenancy.id

	#Optional
	items {
		#Required
		email_id = oci_usage_proxy_email.test_email.id

		#Optional
		first_name = var.subscription_redeemable_user_items_first_name
		last_name = var.subscription_redeemable_user_items_last_name
	}
	user_id = oci_identity_user.test_user.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 Redeemable User * update - (Defaults to 20 minutes), when updating the Subscription Redeemable User * delete - (Defaults to 20 minutes), when destroying the Subscription Redeemable User

Import

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

$ terraform import oci_usage_proxy_subscription_redeemable_user.test_subscription_redeemable_user "subscriptions/{subscriptionId}/redeemableUsers/tenancyId/{tenancyId}"