oci_cloud_guard_responder_recipe

This resource provides the Responder Recipe resource in Oracle Cloud Infrastructure Cloud Guard service.

Creates a responder recipe (ResponderRecipe resource), from values passed in a CreateResponderRecipeDetails resource.

Example Usage

resource "oci_cloud_guard_responder_recipe" "test_responder_recipe" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.responder_recipe_display_name
	source_responder_recipe_id = oci_cloud_guard_responder_recipe.test_responder_recipe.id

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.responder_recipe_description
	freeform_tags = {"bar-key"= "value"}
	responder_rules {
		#Required
		details {
			#Required
			is_enabled = var.responder_recipe_responder_rules_details_is_enabled
		}
		responder_rule_id = oci_events_rule.test_rule.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 Responder Recipe * update - (Defaults to 20 minutes), when updating the Responder Recipe * delete - (Defaults to 20 minutes), when destroying the Responder Recipe

Import

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

$ terraform import oci_cloud_guard_responder_recipe.test_responder_recipe "id"