oci_announcements_service_announcement_subscription

This resource provides the Announcement Subscription resource in Oracle Cloud Infrastructure Announcements Service service.

Creates a new announcement subscription.

This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy.

Example Usage

resource "oci_announcements_service_announcement_subscription" "test_announcement_subscription" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.announcement_subscription_display_name
	ons_topic_id = oci_ons_notification_topic.test_notification_topic.id

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.announcement_subscription_description
	filter_groups {
		#Required
		filters {
			#Required
			type = var.announcement_subscription_filter_groups_filters_type
			value = var.announcement_subscription_filter_groups_filters_value
		}
	}
	freeform_tags = {"bar-key"= "value"}
	preferred_language = var.announcement_subscription_preferred_language
	preferred_time_zone = var.announcement_subscription_preferred_time_zone
}

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

Import

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

$ terraform import oci_announcements_service_announcement_subscription.test_announcement_subscription "id"