oci_queue_consumer_group

This resource provides the Consumer Group resource in Oracle Cloud Infrastructure Queue service.

Creates a new consumer group.

Example Usage

resource "oci_queue_consumer_group" "test_consumer_group" {
	#Required
	display_name = var.consumer_group_display_name
	queue_id = oci_queue_queue.test_queue.id

	#Optional
	consumer_group_filter = var.consumer_group_consumer_group_filter
	dead_letter_queue_delivery_count = var.consumer_group_dead_letter_queue_delivery_count
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	is_enabled = var.consumer_group_is_enabled
}

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

Import

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

$ terraform import oci_queue_consumer_group.test_consumer_group "id"