oci_jms_jms_plugin

This resource provides the Jms Plugin resource in Oracle Cloud Infrastructure Jms service.

Registers an agent’s JmsPlugin, optionally attaching to an existing fleet of the tenancy. JmsPlugins registered fleet-less are created with lifecycle state INACTIVE. For the operation to be authorized, the agent must exist, and the authorized user requires JMS_PLUGIN_CREATE permission for the agent’s compartment.

Example Usage

resource "oci_jms_jms_plugin" "test_jms_plugin" {
	#Required
	agent_id = var.jms_plugin_agent_id
	compartment_id = var.compartment_id

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	fleet_id = oci_jms_fleet.test_fleet.id
	freeform_tags = {"bar-key"= "value"}
}

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

Import

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

$ terraform import oci_jms_jms_plugin.test_jms_plugin "id"