oci_opsi_opsi_configuration

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

Create an OPSI configuration resource.

Example Usage

resource "oci_opsi_opsi_configuration" "test_opsi_configuration" {
	#Required
	opsi_config_type = var.opsi_configuration_opsi_config_type

	#Optional
	compartment_id = var.compartment_id
	config_item_custom_status = var.opsi_configuration_config_item_custom_status
	config_item_field = var.opsi_configuration_config_item_field
	config_items {
		#Required
		config_item_type = var.opsi_configuration_config_items_config_item_type

		#Optional
		name = var.opsi_configuration_config_items_name
		value = var.opsi_configuration_config_items_value
	}
	config_items_applicable_context = var.opsi_configuration_config_items_applicable_context
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.opsi_configuration_description
	display_name = var.opsi_configuration_display_name
	freeform_tags = {"bar-key"= "value"}
	opsi_config_field = var.opsi_configuration_opsi_config_field
	system_tags = var.opsi_configuration_system_tags
}

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

Import

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

$ terraform import oci_opsi_opsi_configuration.test_opsi_configuration "id"