oci_cloud_guard_security_zone

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

Creates a security zone (SecurityZone resource) for a compartment. Pass parameters through a CreateSecurityZoneDetails resource.

Example Usage

resource "oci_cloud_guard_security_zone" "test_security_zone" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.security_zone_display_name
	security_zone_recipe_id = oci_cloud_guard_security_zone_recipe.test_security_zone_recipe.id

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

Import

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

$ terraform import oci_cloud_guard_security_zone.test_security_zone "id"