oci_cloud_guard_security_recipe

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

Creates a security zone recipe (SecurityRecipe resource), using parameters passed in a CreateSecurityRecipeDetails resource.

Example Usage

resource "oci_cloud_guard_security_recipe" "test_security_recipe" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.security_recipe_display_name
	security_policies = var.security_recipe_security_policies

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.security_recipe_description
	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 Security Recipe * update - (Defaults to 20 minutes), when updating the Security Recipe * delete - (Defaults to 20 minutes), when destroying the Security Recipe

Import

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

$ terraform import oci_cloud_guard_security_recipe.test_security_recipe "id"