oci_zpr_configuration

This resource provides the Configuration resource in Oracle Cloud Infrastructure Zpr service.

Initiates the process to onboard ZPR in a root compartment (the root compartment is the tenancy). It creates an object of ZPR configuration as part of onboarding.

Example Usage

resource "oci_zpr_configuration" "test_configuration" {
	#Required
	compartment_id = var.tenancy_ocid

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	freeform_tags = {"Department"= "Finance"}
	zpr_status = var.configuration_zpr_status
}

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

Import

Configuration can be imported using the ‘compartment_id’ and id, e.g.

$ terraform import oci_zpr_configuration.test_configuration "{compartment_id}/{id}"