oci_opa_opa_instance

This resource provides the Opa Instance resource in Oracle Cloud Infrastructure Opa service.

Creates a new OpaInstance.

Example Usage

resource "oci_opa_opa_instance" "test_opa_instance" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.opa_instance_display_name
	shape_name = oci_core_shape.test_shape.name

	#Optional
	consumption_model = var.opa_instance_consumption_model
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.opa_instance_description
	freeform_tags = {"bar-key"= "value"}
	idcs_at = var.opa_instance_idcs_at
	is_breakglass_enabled = var.opa_instance_is_breakglass_enabled
	metering_type = var.opa_instance_metering_type
}

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

Import

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

$ terraform import oci_opa_opa_instance.test_opa_instance "id"